-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
job-list: improve journal error handling
Problem: ENODATA is not treated specially (as per RFC 6) when the journal RPC gets an error response. Detect that case, log it, and stop the reactor without error. Also, don't decode the eventlog initally, as it is not used yet. Let any (unlikely) protocol errors be handled when the message is processed.
- Loading branch information
Showing
1 changed file
with
12 additions
and
13 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