[serve][dashboard] Show last line instead of first line in Serve app status message
Typically when there's an error, these status messages include a traceback. That means the last line is the most valuable. Example:
If the un-expanded version was AttributeError: module 'foo' has no attribute 'bar' I'd know exactly the issue at a glance.
@alanwguo @scottsun94 a small UX friction I noticed while dogfooding
Also I wonder if there's way to filter out the weird prefix:
[36mray::deploy_serve_application()[39m (pid=10048, ip=10.0.12.213)
@zcin thinking about this makes me realize we should do exactly the same exception handling that you did for the replica constructor for the deploy_serve_application task (avoid serialization errors and improve the tracebacks).
This P2 issue has seen no activity in the past 2 years. It will be closed in 2 weeks as part of ongoing cleanup efforts.
Please comment and remove the pending-cleanup label if you believe this issue should remain open.
Thanks for contributing to Ray!