Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[now dev] Move the MissingDotenvVarsError handling to the correct place #2489

Merged
merged 1 commit into from
Jul 2, 2019

Conversation

TooTallNate
Copy link
Member

validateEnvConfig() used to be invoked inside of validateNowConfig(), but now it is invoked separately.

Explicitly exiting the process avoids reports going to Sentry.

…lace

`validateEnvConfig()` used to be invoked inside of `validateNowConfig()`,
but now it is invoked separately.

Explicitly exiting the process avoids reports going to Sentry.
@TooTallNate TooTallNate requested a review from leo as a code owner July 2, 2019 01:22
@codecov-io
Copy link

Codecov Report

Merging #2489 into canary will decrease coverage by 0.07%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           canary    #2489      +/-   ##
==========================================
- Coverage   11.45%   11.38%   -0.08%     
==========================================
  Files         256      256              
  Lines        9250     9247       -3     
  Branches     1033     1031       -2     
==========================================
- Hits         1060     1053       -7     
- Misses       8079     8082       +3     
- Partials      111      112       +1
Impacted Files Coverage Δ
src/util/dev/server.ts 47.26% <0%> (ø) ⬆️
src/util/metrics.ts 61.53% <0%> (-17.78%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3926055...cacb771. Read the comment docs.

@TooTallNate TooTallNate merged commit e0c6bb4 into canary Jul 2, 2019
@TooTallNate TooTallNate deleted the fix/now-dev-env-var-validation branch July 2, 2019 18:42
leo pushed a commit that referenced this pull request Jul 7, 2019
…lace (#2489)

`validateEnvConfig()` used to be invoked inside of `validateNowConfig()`,
but now it is invoked separately.

Explicitly exiting the process avoids reports going to Sentry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants