On Thu, 18 Nov 2021 19:27:25 +0100
Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to