Skip to content

Commit 618901e

Browse files
wip
1 parent 1c5d89d commit 618901e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quickjs_utils/promises.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,15 @@ unsafe extern "C" fn promise_rejection_tracker(
280280
match reason_str_res {
281281
Ok(reason_str) => {
282282
log::error!(
283-
"[{}] unhandled promise rejection, reason: {}{}",
283+
"[{}] unhandled promise rejection, reason: {}\nRejection stack:\n{}",
284284
realm_id,
285285
reason_str,
286286
stack
287287
);
288288
}
289289
Err(e) => {
290290
log::error!(
291-
"[{}] unhandled promise rejection, could not get reason: {}{}",
291+
"[{}] unhandled promise rejection, could not get reason: {}\nRejection stack:\n{}",
292292
realm_id,
293293
e,
294294
stack

0 commit comments

Comments
 (0)