Skip to content

Commit a5d30ce

Browse files
committed
runtime: add log message on critical logs
1 parent 40d2f0a commit a5d30ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/wasm/src/host_exports.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,8 @@ impl HostExports {
10841084

10851085
if level == slog::Level::Critical {
10861086
return Err(DeterministicHostError::from(anyhow!(
1087-
"Critical error logged in mapping"
1087+
"Critical error logged in mapping with log message: {}",
1088+
msg
10881089
)));
10891090
}
10901091
Ok(())

0 commit comments

Comments
 (0)