Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
82e115e2
Commit
82e115e2
authored
Aug 01, 2019
by
Markus Scheidgen
Browse files
Added traceback output to failing search API.
parent
41e2dd03
Pipeline
#53004
failed with stages
in 17 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/api/repo.py
View file @
82e115e2
...
...
@@ -272,6 +272,8 @@ class RepoCalcsResource(Resource):
except
search
.
ScrollIdNotFound
:
abort
(
400
,
'The given scroll_id does not exist.'
)
except
KeyError
as
e
:
import
traceback
traceback
.
print_exc
()
abort
(
400
,
str
(
e
))
...
...
Write
Preview
Supports
Markdown
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