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
Fix the handling of user errors #1959
Conversation
Codecov Report
@@ Coverage Diff @@
## canary #1959 +/- ##
=========================================
- Coverage 6.57% 6.3% -0.27%
=========================================
Files 90 90
Lines 4092 4092
=========================================
- Hits 269 258 -11
- Misses 3823 3834 +11
Continue to review full report at Codecov.
|
size_limit_exceeded
super({ | ||
code: 'DEPLOYMENT_TYPE_UNSUPPORTED', | ||
meta: {}, | ||
message: `This region only accepts Serverless Docker Deployments` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that always the case with this error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juliangruber I think we should say that only Now 2.0 deployments are supported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nevermind!
* fix unexpected `size_limit_exceeded` * fix unexpected `deployment_type_unsupported` * fix unexpected `JSONError` * check if err.sizeLimit exists
* fix unexpected `size_limit_exceeded` * fix unexpected `deployment_type_unsupported` * fix unexpected `JSONError` * check if err.sizeLimit exists
No description provided.