Skip to content

Commit fb0ad90

Browse files
committed
fix: send VM errors to stderr
1 parent 9040a48 commit fb0ad90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/Ark/VM/VM.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ namespace Ark
385385
* @param os
386386
* @param colorize
387387
*/
388-
void backtrace(internal::ExecutionContext& context, std::ostream& os = std::cout, bool colorize = true);
388+
void backtrace(internal::ExecutionContext& context, std::ostream& os = std::cerr, bool colorize = true);
389389

390390
/**
391391
* @brief Function called when the CALL instruction is met in the bytecode

0 commit comments

Comments
 (0)