-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: add error cause for TCP server's app_loop
If there is an error when running as a TCP server (for instance a fatal formatting error on the stream), then the CLI will log the error, close the connection and continue listening for more TCP connections. This adds the cause of the error to the log, using Anyhow's Error alternate formatting. Signed-off-by: Daniel Estévez <[email protected]>
- Loading branch information
1 parent
c99d7a8
commit 0cdab76
Showing
2 changed files
with
2 additions
and
1 deletion.
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
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