Skip to content

Commit 95ae581

Browse files
committed
FileNotFoundError
1 parent 5c86472 commit 95ae581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primal_page/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def create(
296296

297297
elif status == FindResult.NOT_FOUND:
298298
if algorithmversion is None:
299-
raise typer.BadParameter(
299+
raise FileNotFoundError(
300300
f"Could not find a config.json file in {schemepath}. Please specify manually with --configpath or specify algorithmversion with --algorithmversion"
301301
)
302302

0 commit comments

Comments
 (0)