Add additional logging around secscan analyze
This commit is contained in:
parent
94ab6cf635
commit
f296599162
2 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,8 @@ class LayerAnalyzer(object):
|
|||
except AnalyzeLayerException:
|
||||
# Something went wrong when trying to analyze the layer and we cannot retry, so mark the
|
||||
# layer as invalid.
|
||||
logger.exception('Got exception when trying to analyze layer %s via security scanner',
|
||||
layer.id)
|
||||
if not set_secscan_status(layer, False, self._target_version):
|
||||
raise PreemptedException
|
||||
|
||||
|
|
Reference in a new issue