mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-17 15:01:23 +00:00
Upgrade failure
and fix deprecation warnings (#605)
This commit is contained in:
@ -66,7 +66,7 @@ fn main() {
|
||||
Err(e) => e,
|
||||
};
|
||||
eprintln!("error: {}", err);
|
||||
for cause in err.causes().skip(1) {
|
||||
for cause in err.iter_causes() {
|
||||
eprintln!("\tcaused by: {}", cause);
|
||||
}
|
||||
process::exit(1);
|
||||
|
Reference in New Issue
Block a user