Skip to content

Commit be78c85

Browse files
fetchfile-progress
1 parent 2175971 commit be78c85

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Packs/Cybereason/Integrations/Cybereason/Cybereason.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,9 +1787,12 @@ def get_batch_id(client: Client, suspect_files_guids: dict) -> list:
17871787
del suspect_files_guids[file_status['fileName']]
17881788
for suspect_file in list(suspect_files_guids.keys()):
17891789
malop_comment = f'Could not download the file {suspect_file} from source machine, even after waiting for 80 seconds.'
1790+
demisto.log(malop_comment)
1791+
1792+
if new_malop_comments == []:
17901793
raise DemistoException(malop_comment)
1791-
1792-
return new_malop_comments
1794+
else:
1795+
return new_malop_comments
17931796

17941797

17951798
def fetchfile_progress(client: Client):

0 commit comments

Comments
 (0)