jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Tera error handling

Open naturallymitchell opened this issue 5 years ago • 5 comments

Tera can do so much more

all we have now is "Failed to render template [name]."

naturallymitchell avatar Dec 05 '18 21:12 naturallymitchell

https://docs.rs/tera/1.0.0-alpha.2/tera/struct.Error.html#methods

naturallymitchell avatar Jan 16 '19 08:01 naturallymitchell

Just noticed that following along from the panic report, do not use an alpha version yet except if you like to fix breaking changes :) Things will be more stable once a beta version is released and I would take feedback on the errors reporting as it is still a bit WIP right now.

Keats avatar Jan 17 '19 17:01 Keats

can't you tell @Keats I love your alpha code :dancer: :dancer:

naturallymitchell avatar Jan 19 '19 15:01 naturallymitchell

we now have Lua tracebacks with tera 1.x, but I still think we can get additional errors, like failed to parse at X line and others..

naturallymitchell avatar Jan 24 '19 02:01 naturallymitchell

https://github.com/foundpatterns/tera/commit/0cb3d04ddc955f5fab62c84684faccdc5535fc78

naturallymitchell avatar Feb 10 '19 03:02 naturallymitchell