Skip to content

Commit

Permalink
if DESY cloud retrieval fails, rerun scan
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonreusch committed May 6, 2023
1 parent 74d0f39 commit 87ef45a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slackbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def __init__(
elif self.event_type == "gw":
if self.dl_results:
self.scanner.download_results()
if len(self.scanner.cache) == 0:
self.post("No candidates found on DESY cloud, rerunning scan")
self.scanner.get_alerts()
self.scanner.filter_alerts()
else:
self.scanner.get_alerts()
self.scanner.filter_alerts()
Expand Down

0 comments on commit 87ef45a

Please sign in to comment.