mirror of
https://github.com/rizsotto/scan-build.git
synced 2025-12-16 12:00:08 +01:00
fix #99
This commit is contained in:
@@ -33,3 +33,5 @@ v2.0.9 2017-09-03 -- Bug fix
|
||||
v2.0.10 2017-10-03 -- Add typing as dependency
|
||||
|
||||
v2.0.11 2018-01-07 -- Fix decoding error at report generation
|
||||
|
||||
v2.0.12 2018-04-13 -- Fix log message bug
|
||||
|
||||
@@ -408,7 +408,7 @@ def run_analyzer(opts, continuation=report_failure):
|
||||
message = 'failed to execute "{0}"'.format(opts['clang'])
|
||||
return {'error_output': message, 'exit_code': 127}
|
||||
except subprocess.CalledProcessError as ex:
|
||||
logging.warning('analysis failed: %s', exc_info=True)
|
||||
logging.warning('analysis failed', exc_info=True)
|
||||
result = {'error_output': ex.output, 'exit_code': ex.returncode}
|
||||
if opts.get('output_failures', False):
|
||||
opts.update(result)
|
||||
|
||||
Reference in New Issue
Block a user