mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +00:00
Improve askama_derive error output
This commit is contained in:
parent
6f4a799e77
commit
c1e4d4cd59
@ -261,7 +261,7 @@ pub fn derive_template(input: TokenStream, import_askama: fn() -> TokenStream) -
|
||||
Error: {err}\n\n\
|
||||
Generated source:\n\
|
||||
------------------------------------------------\n\
|
||||
{src:?}\n\
|
||||
{src}\n\
|
||||
------------------------------------------------\n\n"
|
||||
),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user