Custom writer: produce stacktrace if Writer function fails

This commit is contained in:
Albert Krewinkel 2022-02-07 09:45:32 +01:00
parent 7d3db1dd2d
commit 4864761ad8
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -51,5 +51,5 @@ writeCustom luaFile opts doc = either throw pure <=< runLua $ do
-- options as arguments.
push doc
push opts
call 2 1
callTrace 2 1
forcePeek $ peekText top