Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TwingErrorRuntime format #518

Closed
riklamme opened this issue Aug 13, 2020 · 0 comments
Closed

TwingErrorRuntime format #518

riklamme opened this issue Aug 13, 2020 · 0 comments

Comments

@riklamme
Copy link

Is it posible to style or format the TwingErrorRuntime?

If there is an error, this is the output in my terminal:

TwingErrorRuntime: Macro "setMicrodata" is not defined in template "PATH_TO/sources/templates/macros/teasers.twig" in "PATH_TO/sources/templates/macros/teasers.twig" at line 36. [1] at PATH_TO/node_modules/twing/dist/cjs/lib/template.js:374:23 [1] at eval (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:33:64) [1] at eval (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:34:43) [1] at Object.doDisplay (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:104:35) [1] at Object.doDisplay (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:69:17) { [1] rawMessage: 'Macro "setMicrodata" is not defined in template "PATH_TO/templates/macros/teasers.twig".', [1] source: TwingSource { [1] code: '', [1] name: 'PATH_TO/sources/templates/macros/teasers.twig', [1] resolvedName: 'PATH_TO/sources/templates/macros/teasers.twig' [1] }, [1] previous: undefined, [1] name: 'TwingErrorRuntime', [1] lineno: 36 [1] }

@NightlyCommit NightlyCommit locked and limited conversation to collaborators Nov 27, 2023
@ericmorand ericmorand converted this issue into discussion #553 Nov 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant