Application fails to start when ENV variable is missing #245
-
DescriptionThe application crashes on startup if the Expected BehaviorThe app should either use a default value or fail with a clear error Actual BehaviorThe app throws a runtime error without a helpful message. |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 3 replies
-
|
Thanks for reporting. We should validate required environment variables at startup and |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for reporting this. You're right — the app currently does not handle missing environment |
Beta Was this translation helpful? Give feedback.
-
|
Confirmed. The application assumes |
Beta Was this translation helpful? Give feedback.
-
|
Good catch. We'll add a startup check for required environment variables and |
Beta Was this translation helpful? Give feedback.
-
|
This happens because the app accesses We'll introduce environment validation during initialization so |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the report. We should validate required environment variables at startup and |
Beta Was this translation helpful? Give feedback.
-
|
Yep, this is on us. We’re missing env validation at startup. I’ll add a check so the app |
Beta Was this translation helpful? Give feedback.
-
|
Confirmed. Failing silently on missing environment variables is risky, |
Beta Was this translation helpful? Give feedback.
-
|
Good report. We'll introduce environment variable validation (possibly using a |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the detailed report. The current behavior is not ideal. Required environment variables |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the report. We should validate required environment variables at startup and |
Beta Was this translation helpful? Give feedback.
-
|
Good catch. The app currently assumes this env variable exists, so we’ll add validation to prevent an unclear runtime crash. |
Beta Was this translation helpful? Give feedback.
Thanks for reporting.
We should validate required environment variables at startup and
provide a clear error message when they are missing.
I'll add validation logic.