Replies: 1 comment
-
ok, I found the solution by looking at the examples, apparently I need to set debug env for this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear minijinja community,
I am building a cli using minijinja,
for some reason when I am missing the minijinja template errors when running my app as a binary, however, I can see the minijinja error when running my app through
cargo run
.eg:
Running through
cargo run
:As you can see, the app is giving a context of where the issue is
Running
cargo install --path . --force
, then:And here I don't get the context of the error from minijinja and I am missing that because I find it quite useful for the endusers.
This is the code that produces the error https://github.com/eth-cscs/manta/blob/v1.53.9/src/cli/commands/apply_sat_file/utils.rs#L594
My question is:
What do I need to do in order to show minijinja error messages when running the binary?
thank you
Beta Was this translation helpful? Give feedback.
All reactions