console should attempt to report if monitored app exits/panics, if possible #179
Labels
A-instrumentation
Area: instrumentation.
C-api
Crate: console-api
C-console
Crate: console.
C-subscriber
Crate: console-subscriber.
E-medium
Effort: medium.
S-feature
Severity: feature. This is adding a new feature.
I was staring at a terminal wondering why console was failing to connect.
Then I eventually switched to the other screen, and realized that the app I was monitoring had panicked.
Ideally, we could use a RAII object to send a message to the console when an app quits cleanly or panics cleanly, right?
(Having said that, I don't know off hand if it is generally a bad idea to incur new network traffic in destructors, since that does seem like it could invite a panic from a destructor situation in some circumstances. So if this is just a bad idea, feel free to close this feature request.)
The text was updated successfully, but these errors were encountered: