-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
update docs: Function logs accepts unique name not path #1057
Comments
The solution to this issue is simple: This is pretty confusing for newcomers, particularly when |
hmmm @aexmachina yeah we're now enforcing unique function names across your project to make it easy to reference your functions without having to specify the path. So it's intended to work this way. Maybe the docs doesn't cover that change yet. Really sorry about that :/ Will update the docs today. Thanks for reporting 😊 |
Our new logs plugin for V1 doesn't have this issue any more. Closing therefore |
When I run
sls function logs functions/donationCreate
I getCannot read property 'getDeployedName' of undefined
.I'm using serverless v0.5.5 with serverless-runtime-babel plugin, although the problem persists if I remove this plugin. I've tried using the master branch and it doesn't help.
Here's the stack trace:
The text was updated successfully, but these errors were encountered: