We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c5d89d commit 618901eCopy full SHA for 618901e
1 file changed
src/quickjs_utils/promises.rs
@@ -280,15 +280,15 @@ unsafe extern "C" fn promise_rejection_tracker(
280
match reason_str_res {
281
Ok(reason_str) => {
282
log::error!(
283
- "[{}] unhandled promise rejection, reason: {}{}",
+ "[{}] unhandled promise rejection, reason: {}\nRejection stack:\n{}",
284
realm_id,
285
reason_str,
286
stack
287
);
288
}
289
Err(e) => {
290
291
- "[{}] unhandled promise rejection, could not get reason: {}{}",
+ "[{}] unhandled promise rejection, could not get reason: {}\nRejection stack:\n{}",
292
293
e,
294
0 commit comments