We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9427b7e commit 6bfb73cCopy full SHA for 6bfb73c
job_export.py
@@ -68,7 +68,9 @@
68
DB_URL = f"jdbc:postgresql://{DB_HOST}/{DB_DATABASE}"
69
else:
70
DB_URL = None
71
- print("DB_HOST or DB_DATABASE is missing. DB_URL cannot be constructed.")
+ raise RuntimeError(
72
+ "DB_HOST or DB_DATABASE is missing. DB_URL cannot be constructed."
73
+ )
74
75
dictionary_url = os.environ["DICTIONARY_URL"]
76
dictionary, model = init_dictionary(url=dictionary_url)
0 commit comments