![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
26 Dec
2021
26 Dec
'21
6:48 a.m.
On Thu, 18 Nov 2021 19:27:25 +0100
Marco Patzer via ntg-context
Is there a way to return failure if *any* error is encountered or do they need to be enabled each individually?
A solution is to use patterns (supported in the upcoming upload): \enabledirectives [logs.errors=*] Alternatively use a compile-time switch: context --errors='*' <file> This will make the return value reflect the presence of an error. Further reading: https://wiki.contextgarden.net/Running_ConTeXt#--errors Marco