summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Bauer <felix.bauer@atos.net>2019-10-15 21:31:51 +0200
committerFelix Bauer <jack@ai4me.de>2019-10-29 12:37:07 +0100
commit2fd4570d0bb7d2753ec25486cc97460921b9b68b (patch)
tree73aa48e75b8560f363e8a4f17f31456a3d7d0126
parentc3987a2f029549208a7c146542989976f77afee2 (diff)
Removed raise OSError when Cuckoo report not found
CuckooEmbed mode raised OSError if Cuckoo report file doesn't exit.
-rw-r--r--peekaboo/toolbox/cuckoo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/peekaboo/toolbox/cuckoo.py b/peekaboo/toolbox/cuckoo.py
index 8b0b646..dba7879 100644
--- a/peekaboo/toolbox/cuckoo.py
+++ b/peekaboo/toolbox/cuckoo.py
@@ -194,7 +194,7 @@ class CuckooEmbed(Cuckoo):
'analyses/%d/reports/report.json' % job_id)
if not os.path.isfile(path):
- raise OSError('Cuckoo report not found at %s.' % path)
+ return None
logger.debug('Accessing Cuckoo report for task %d at %s ' %
(job_id, path))