Skip to content

Commit

Permalink
Nice traceback on error in flow module (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vbif authored Oct 15, 2022
1 parent e33812a commit 700a938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ludobits/m/flow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function resume(instance)
if instance.on_error then
instance.on_error(error)
else
print("Warning: Flow resulted in error", error)
pprint(debug.traceback(instance.co, error, 1))
end
end
end
Expand Down

0 comments on commit 700a938

Please sign in to comment.