Try to get error information upon crash in daca2 into log output
This commit is contained in:
parent
435a980ce2
commit
6cf7ff4243
|
@ -178,6 +178,7 @@ def scanarchive(filepath, jobs):
|
|||
if p.returncode == 0:
|
||||
results.write(comm[1])
|
||||
elif comm[0].find('cppcheck: error: could not find or open any of the paths given.') < 0:
|
||||
results.write(comm[1])
|
||||
results.write('Exit code is not zero! Crash?\n')
|
||||
results.write('\n')
|
||||
results.close()
|
||||
|
|
Loading…
Reference in New Issue