Uh oh!
There was an error while loading. Please reload this page.
Log error details via Display instead of Debug - #249
Conversation
pitdicker
commented
Feb 1, 2018
Ah, good use of I like "permanent failure or unavailable" more then "permanent failure", but shorter is a little neater here. Example result: |
dhardy
commented
Feb 4, 2018
Reminder to self: |
Specifically, check:
|
dhardy
commented
Feb 5, 2018
Updated; this affects EntropyRng logging significantly |
pitdicker
left a comment
There was a problem hiding this comment.
Look good to me! Have you made all the changes you wanted?
dhardy
commented
Feb 6, 2018
For now, though there might be some more tweaks after #252 merges. |
Log error details via Display instead of Debug
Compare current
Debugoutput:verses prettier
Displayoutput:I checked implementations of
Displayfor error types in the main Rust repo and all of them covered all their state I think; but none had a situation like this with optional cause. So thisDisplayimplementation seems reasonable to me.(Note that the condition is a bit funky due to
no_stdnot having a cause at all.)