Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling to report the actual error in case of an error in the custom service #387

Closed
ThomasDelteil opened this issue May 11, 2018 · 4 comments
Assignees

Comments

@ThomasDelteil
Copy link
Contributor

Trying to start my service in a docker container I got this error:

[ERROR 2018-05-11 03:19:46,356 PID:463 /usr/local/lib/python2.7/dist-packages/mms/mxnet_model_server.py:_arg_process:177] Failed to process arguments: Incorrect or missing service file: /mxnet_model_server/visualsearch/service.py

The actual error after debugging was an import error in my service file:

No module named wget

Ideally that should be bubbled up rather than just saying it is incorrect

@lupesko lupesko changed the title [Feature Request] Better error logging Improve error handling to report the actual error in case of an error in the custom service May 11, 2018
@lupesko
Copy link
Contributor

lupesko commented May 11, 2018

Great call, and this is not a feature request, it is a plain old bug :)
@vrakesh can we get this in to v0.4 release please?

@vrakesh
Copy link
Contributor

vrakesh commented May 11, 2018

will look into this, and get it fixed for 0.4

@vrakesh
Copy link
Contributor

vrakesh commented May 17, 2018

Resolved in PR #391

@vrakesh vrakesh closed this as completed May 17, 2018
@ThomasDelteil
Copy link
Contributor Author

@vrakesh thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants