Skip to content

Commit

Permalink
Scripting: Remove debugging leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske authored and KarlStraussberger committed Dec 17, 2023
1 parent a601dda commit dacc8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/scripting/script.cc
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ void Script::load(const fs::path& scriptPath)
void Script::_execute()
{
if (duk_pcall(ctx, 0) != DUK_EXEC_SUCCESS) {
log_error("Failed! to execute script {}: {}", scriptPath, duk_safe_to_stacktrace(ctx, -1));
log_error("Failed to execute script {}: {}", scriptPath, duk_safe_to_stacktrace(ctx, -1));
throw_std_runtime_error("Script: failed to execute script");
}
duk_pop(ctx);
Expand Down

0 comments on commit dacc8a0

Please sign in to comment.