Skip to content

Commit

Permalink
Updated warning message about missing function in template (#5347)
Browse files Browse the repository at this point in the history
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
  • Loading branch information
lucashuy and hawflau authored Jul 3, 2023
1 parent c53db02 commit 6c9939e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samcli/local/apigw/local_apigw_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def _request_handler(self, **kwargs):

LOG.warning(
"Failed to find a Function to invoke a Lambda authorizer, verify that "
"this Function exists locally if it is not a remote resource."
"this Function is defined and exists locally in the template."
)
except Exception as ex:
# re-raise the catch all exception after we track it in our telemetry
Expand Down

0 comments on commit 6c9939e

Please sign in to comment.