Skip to content

Commit

Permalink
Fix internal error on getflag when putflag data missing (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
PistonMiner authored May 26, 2021
1 parent 4f4745c commit 713c0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checker/src/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def getflag(self): # type: () -> None
username: str = self.chain_db["username"]
password: str = self.chain_db["password"]
noteId: str = self.chain_db["noteId"]
except IndexError as ex:
except Exception as ex:
self.debug(f"error getting notes from db: {ex}")
raise BrokenServiceException("Previous putflag failed.")

Expand Down

0 comments on commit 713c0c7

Please sign in to comment.