mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Merge pull request #6254 from serverless/improve-user-message
Improve user message
This commit is contained in:
commit
aedfbf289d
@ -38,13 +38,12 @@ module.exports = {
|
||||
}
|
||||
|
||||
const errorMessage = [
|
||||
'Rest API could not be resolved. ',
|
||||
'This might be casued by a custom API Gateway setup. ',
|
||||
'With you current setup stage specific configurations such as ',
|
||||
'`tracing`, `logs` and `tags` are not supported',
|
||||
'',
|
||||
'Please update your configuration or open up an issue if you feel ',
|
||||
'that there\'s a way to support your setup.',
|
||||
'Rest API id could not be resolved.\n',
|
||||
'This might be caused by a custom API Gateway configuration.\n\n',
|
||||
'In given setup stage specific options such as ',
|
||||
'`tracing`, `logs` and `tags` are not supported.\n\n',
|
||||
'Please update your configuration (or open up an issue if you feel ',
|
||||
'that there\'s a way to support your setup).',
|
||||
].join('');
|
||||
|
||||
throw new Error(errorMessage);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user