1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-03 17:57:26 +03:00
wezterm/wezterm-blob-leases
Wez Furlong f7a0a0f1a6
blob-lease: improve error handling
If someone removed the directory structure, or otherwise messed with
the files, there was a good chance that we'd end up in a panic.

This commit improves the error messaging produced by the blob
lease layer to provide the path as context, log the error,
and then translate the error case to an empty frame so that
the rest of the rendering machinery can proceed in a more reasonable
way.

We take care to log this sort of corrupt frame error only once,
as it is most likely to occur in an animated gif and will thus
trigger multiple times per second for such a file.

refs: #5422
2024-07-14 07:45:10 -07:00
..
src blob-lease: improve error handling 2024-07-14 07:45:10 -07:00
Cargo.toml wezterm-blob-leases: prep for crates.io publish 2024-01-27 12:11:08 -07:00