chore: fix async_work status typo (#1883)
This commit is contained in:
parent
c73cb31c11
commit
4d82737efe
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ unsafe extern "C" fn complete<T: Task>(
|
||||||
unsafe { sys::napi_reject_deferred(env, deferred, JsError::from(e).into_value(env)) };
|
unsafe { sys::napi_reject_deferred(env, deferred, JsError::from(e).into_value(env)) };
|
||||||
debug_assert!(
|
debug_assert!(
|
||||||
status == sys::Status::napi_ok,
|
status == sys::Status::napi_ok,
|
||||||
"Reject promise failedm status: {:?}",
|
"Reject promise failed, status: {:?}",
|
||||||
crate::Status::from(status)
|
crate::Status::from(status)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue