Skip to content

Commit 683a087

Browse files
committed
change wording of db not found error
1 parent 6705354 commit 683a087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archivebox/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,6 @@ def setup_django(out_dir: Path=None, check_db=False, config: ConfigDict=CONFIG,
10791079
if check_db:
10801080
sql_index_path = Path(output_dir) / SQL_INDEX_FILENAME
10811081
assert sql_index_path.exists(), (
1082-
f'No database file {SQL_INDEX_FILENAME} found in OUTPUT_DIR: {config["OUTPUT_DIR"]}')
1082+
f'No database file {SQL_INDEX_FILENAME} found in: {config["OUTPUT_DIR"]} (Are you in an ArchiveBox collection directory?)')
10831083
except KeyboardInterrupt:
10841084
raise SystemExit(2)

0 commit comments

Comments
 (0)