Skip to content

Commit 221b390

Browse files
committed
frontend_utils: Be more verbose on IO bundle errors
When an IO error occurs, be more verbose and include the inner error in the message, that makes it easier to debug issues.
1 parent 588a73d commit 221b390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend-utils/src/bundle/source.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub enum BundleSourceError {
3131
#[error("Invalid or corrupt zip")]
3232
InvalidZip,
3333

34-
#[error("IO error opening file")]
34+
#[error("IO error opening file: {0}")]
3535
Io(#[from] Error),
3636
}
3737

0 commit comments

Comments
 (0)