Skip to content

Commit

Permalink
runtime: add log message on critical logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyasmohd committed Jan 9, 2025
1 parent 40d2f0a commit a5d30ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/wasm/src/host_exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,8 @@ impl HostExports {

if level == slog::Level::Critical {
return Err(DeterministicHostError::from(anyhow!(
"Critical error logged in mapping"
"Critical error logged in mapping with log message: {}",
msg
)));
}
Ok(())
Expand Down

0 comments on commit a5d30ce

Please sign in to comment.