We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0715f9b commit 1c0e24dCopy full SHA for 1c0e24d
opengrok-tools/src/main/python/opengrok_tools/utils/commandsequence.py
@@ -30,6 +30,7 @@
30
SUCCESS_EXITVAL
31
)
32
import json
33
+import re
34
35
36
class CommandSequenceBase:
@@ -228,8 +229,9 @@ def check(self, ignore_errors):
228
229
self.logger.error(out)
230
self.logger.error("")
231
232
+ re_program = re.compile('ERROR[:]*\\s+')
233
errored_cmds = {k: v for k, v in self.outputs.items()
- if "error" in str(v).lower()}
234
+ if re_program.match(str(v))}
235
if len(errored_cmds) > 0:
236
ret = 1
237
self.logger.error("Command output in project '{}'"
0 commit comments