1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00
attic/server
Cole Helbling 566ef5ebc3 Display anyhow error chains better
The default Display / `{}` formatter only shows the outermost error. We
have to use `{:#}` to show all the errors in the chain. This will make
stream errors somewhat more informational.

Before:

    Stream error: Storage error: service error

After:

    Stream error e=Storage error: service error: NoSuchKey: The specified key does not exist.: NoSuchKey: The specified key does not exist.

(after I manually mucked with the DB to change the S3 url for an item to
a non-existent name)
2024-10-15 13:33:36 -07:00
..
src Display anyhow error chains better 2024-10-15 13:33:36 -07:00
Cargo.toml Merge branch 'main' into HEAD 2024-10-05 11:50:16 -06:00