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:
Daniel Schep 2018-11-29 07:52:40 -06:00 committed by GitHub
parent c0032ade5e
commit 83fb574e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}