mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Update lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
Co-Authored-By: daniel-cottone <daniel.cottone@asurion.com>
This commit is contained in:
parent
c0032ade5e
commit
83fb574e07
@ -81,7 +81,7 @@ module.exports = {
|
||||
|
||||
if (!_.isInteger(minimumCompressionSize)) {
|
||||
const message =
|
||||
`minimumCompressionSize must be an integer. You provided ${minimumCompressionSize}.`;
|
||||
`minimumCompressionSize must be an integer. You provided ${JSON.stringify(minimumCompressionSize)}.`;
|
||||
return BbPromise.reject(new this.serverless.classes.Error(message));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user