forked from skypilot-org/skypilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ux_utils.print_exception_no_traceback() for cleaner error output
Fixes skypilot-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.
- Loading branch information
Showing
1 changed file
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters