summaryrefslogtreecommitdiff
path: root/ext/napi/uv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/napi/uv.rs')
-rw-r--r--ext/napi/uv.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/napi/uv.rs b/ext/napi/uv.rs
index 6f728a92b..ea6b53966 100644
--- a/ext/napi/uv.rs
+++ b/ext/napi/uv.rs
@@ -5,10 +5,9 @@ use deno_core::parking_lot::Mutex;
use std::mem::MaybeUninit;
use std::ptr::addr_of_mut;
-#[allow(clippy::print_stderr)]
fn assert_ok(res: c_int) -> c_int {
if res != 0 {
- eprintln!("bad result in uv polyfill: {res}");
+ log::error!("bad result in uv polyfill: {res}");
// don't panic because that might unwind into
// c/c++
std::process::abort();