summaryrefslogtreecommitdiff
path: root/ext/ffi
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffi')
-rw-r--r--ext/ffi/Cargo.toml1
-rw-r--r--ext/ffi/callback.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml
index 9e6ade702..8af1b2016 100644
--- a/ext/ffi/Cargo.toml
+++ b/ext/ffi/Cargo.toml
@@ -19,6 +19,7 @@ dlopen2.workspace = true
dynasmrt = "1.2.3"
libffi = "=3.2.0"
libffi-sys = "=2.3.0"
+log.workspace = true
serde.workspace = true
serde-value = "0.7"
serde_json = "1.0"
diff --git a/ext/ffi/callback.rs b/ext/ffi/callback.rs
index eeea49c23..55f38c602 100644
--- a/ext/ffi/callback.rs
+++ b/ext/ffi/callback.rs
@@ -176,7 +176,7 @@ unsafe extern "C" fn deno_ffi_callback(
let tc_scope = &mut TryCatch::new(scope);
args.run(tc_scope);
if tc_scope.exception().is_some() {
- eprintln!("Illegal unhandled exception in nonblocking callback.");
+ log::error!("Illegal unhandled exception in nonblocking callback.");
}
});
}