FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  • J.W. Smith's avatar
    5b7486a6
    feat: subprocess option to choose log type · 5b7486a6
    J.W. Smith authored
    A useful function in ProcessorUtils is subprocess_and_log, which builds a subprocess command and write its stdout and stderr to the log handler. Beforehand, failures only ever generated an error message, but there are some use cases where another log type is preferred. This adds a log type option to the function, and uses it in one case where a warning is more appropriate.
    5b7486a6
    History
    feat: subprocess option to choose log type
    J.W. Smith authored
    A useful function in ProcessorUtils is subprocess_and_log, which builds a subprocess command and write its stdout and stderr to the log handler. Beforehand, failures only ever generated an error message, but there are some use cases where another log type is preferred. This adds a log type option to the function, and uses it in one case where a warning is more appropriate.
Code owners
ProcessorUtils.py 4.57 KiB