mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 09:48:58 +00:00
Merge pull request #169 from Karneades/fix-aggregation-exeption
Add rule filename to "not implemented" exception output
This commit is contained in:
commit
1c2431f33b
@ -177,7 +177,7 @@ for sigmafile in get_inputs(cmdargs.inputs, cmdargs.recurse):
|
||||
if not cmdargs.defer_abort:
|
||||
sys.exit(error)
|
||||
except NotImplementedError as e:
|
||||
print("An unsupported feature is required for this Sigma rule: " + str(e), file=sys.stderr)
|
||||
print("An unsupported feature is required for this Sigma rule (%s): " % (sigmafile) + str(e), file=sys.stderr)
|
||||
print("Feel free to contribute for fun and fame, this is open source :) -> https://github.com/Neo23x0/sigma", file=sys.stderr)
|
||||
if not cmdargs.ignore_backend_errors:
|
||||
error = 42
|
||||
|
Loading…
Reference in New Issue
Block a user