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
7be29e85
"docs/vscode:/vscode.git/clone" did not exist on "0e835aa9117b835ac00d3fdec7b31ef9ba9b1c9a"
Unverified
Commit
7be29e85
authored
May 08, 2020
by
SparkSnail
Committed by
GitHub
May 08, 2020
Browse files
Add log content for PAIYarnTrainingService (#2409)
parent
6485ef17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/nni_manager/training_service/pai/paiYarn/paiYarnTrainingService.ts
...er/training_service/pai/paiYarn/paiYarnTrainingService.ts
+3
-0
No files found.
src/nni_manager/training_service/pai/paiYarn/paiYarnTrainingService.ts
View file @
7be29e85
...
...
@@ -283,6 +283,9 @@ class PAIYarnTrainingService extends PAITrainingService {
};
request
(
submitJobRequest
,
(
error
:
Error
,
response
:
request
.
Response
,
_body
:
any
)
=>
{
if
((
error
!==
undefined
&&
error
!==
null
)
||
response
.
statusCode
>=
400
)
{
const
errorMessage
:
string
=
(
error
!==
undefined
&&
error
!==
null
)
?
error
.
message
:
`Submit trial
${
trialJobId
}
failed, http code:
${
response
.
statusCode
}
, http body:
${
response
.
body
.
message
}
`
;
this
.
log
.
error
(
errorMessage
);
trialJobDetail
.
status
=
'
FAILED
'
;
deferred
.
resolve
(
true
);
}
else
{
...
...
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