You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ux_utils.print_exception_no_traceback() to all errors in the serve_utils.py file to simplify console output and reduce traceback clutter. This will make error messages more user-friendly and easier to read.
It would be great if you can help adding this to other errors raised in this file, in a separate PR ;)
Fixesskypilot-org#4096
Add `ux_utils.print_exception_no_traceback()` to error handling blocks in `sky/serve/serve_utils.py` to simplify error messages and reduce traceback clutter.
* Add `ux_utils.print_exception_no_traceback()` to the error handling block in the `set_service_status_and_active_versions_from_replica` function.
* Add `ux_utils.print_exception_no_traceback()` to the error handling block in the `_get_service_status` function.
* Add `ux_utils.print_exception_no_traceback()` to the error handling block in the `update_service_encoded` function.
* Add `ux_utils.print_exception_no_traceback()` to the error handling block in the `check_service_status_healthy` function.
* Add `ux_utils.print_exception_no_traceback()` to the error handling block in the `stream_replica_logs` function.
Add
ux_utils.print_exception_no_traceback()
to all errors in theserve_utils.py
file to simplify console output and reduce traceback clutter. This will make error messages more user-friendly and easier to read.Originally posted by @cblmemo in #4032 (comment)
The text was updated successfully, but these errors were encountered: