We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3804a3 commit ddafc52Copy full SHA for ddafc52
etl/main.py
@@ -8,6 +8,9 @@
8
9
SRV_URL = str(os.getenv("SERVER_URL"))
10
11
+if not SRV_URL:
12
+ raise Exception("SERVER_URL is not defined in the .env file.")
13
+
14
WORK_DIR = os.path.dirname(os.path.abspath(__file__))
15
sys.path.append(os.path.dirname(WORK_DIR))
16
0 commit comments