Skip to content

Commit 4fd8ee4

Browse files
committed
fix: improve error message formatting in ExecutionError
1 parent 93217de commit 4fd8ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors/execution_error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl fmt::Display for ExecutionError {
3030
Internal(e) => write!(f, "Internal error: {}", e),
3131
Exception(e) => {
3232
if e.is_string() {
33-
write!(f, "{:?}", e.to_string().unwrap())
33+
write!(f, "{}", e.to_string().unwrap())
3434
} else {
3535
write!(f, "JS Exception: {:?}", e)
3636
}

0 commit comments

Comments
 (0)