Skip to content

Commit

Permalink
raise Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Mar 8, 2024
1 parent b639b42 commit 33b8227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funlib/persistence/graphs/sql_graph_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(

metadata = self._read_metadata()
if metadata is None:
RuntimeError("metadata does not exist, can't open in read mode")
raise RuntimeError("metadata does not exist, can't open in read mode")
self.__load_metadata(metadata)

if mode in self.create_modes:
Expand Down

0 comments on commit 33b8227

Please sign in to comment.