Skip to content

Commit 78998bf

Browse files
committed
fix: change return into raise statement
1 parent 3cfc080 commit 78998bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FABulous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ def do_place_and_route_npnr(self, args):
864864
else:
865865
logger.error(
866866
f"Directory {self.projectDir}/{path} does not exist.")
867-
return FileNotFoundError
867+
raise FileNotFoundError
868868

869869
def complete_place_and_route_npnr(self, text, *ignored):
870870
return self._complete_path(text)

0 commit comments

Comments
 (0)