mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Convert server process error to string before writing to stream
This commit is contained in:
parent
c5d69ac61b
commit
b86f7cb9e0
@ -164,8 +164,8 @@ Logs.prototype.logServerProcess = function (serverProcess, prefix, suffix) {
|
||||
})
|
||||
|
||||
serverProcess.on('error', function (err) {
|
||||
if (logStream) {
|
||||
logStream.write(err)
|
||||
if (logStream && err) {
|
||||
logStream.write(err.toString())
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user