Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
6623dff3
Commit
6623dff3
authored
May 22, 2019
by
chicm-ms
Committed by
xuehui
May 22, 2019
Browse files
Add file path of dispatcher.log into dispatcher error info (#1094)
parent
31dc58e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/nni_manager/core/ipcInterface.ts
src/nni_manager/core/ipcInterface.ts
+5
-1
No files found.
src/nni_manager/core/ipcInterface.ts
View file @
6623dff3
...
...
@@ -25,6 +25,7 @@ import { EventEmitter } from 'events';
import
{
Readable
,
Writable
}
from
'
stream
'
;
import
{
NNIError
}
from
'
../common/errors
'
;
import
{
getLogger
,
Logger
}
from
'
../common/log
'
;
import
{
getLogDir
}
from
'
../common/utils
'
;
import
*
as
CommandType
from
'
./commands
'
;
const
ipcOutgoingFd
:
number
=
3
;
...
...
@@ -106,7 +107,10 @@ class IpcInterface {
this
.
logger
.
warning
(
'
Commands jammed in buffer!
'
);
}
}
catch
(
err
)
{
throw
NNIError
.
FromError
(
err
,
'
Dispatcher Error:
'
);
throw
NNIError
.
FromError
(
err
,
`Dispatcher Error, please check this dispatcher log file for more detailed information:
${
getLogDir
()}
/dispatcher.log . `
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment