-
Notifications
You must be signed in to change notification settings - Fork 36
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
Receiving error response of "oops" #84
Comments
It looks like the object that is logged out is coming from here: adapter-aws-lambda-serverless/lambda-function.js Lines 29 to 32 in 8307a87
Can you somehow edit the code directly and log out the I think we should also be able add more information beyond just |
I tried adding a console.log in the file in my code, but I'm not able to see any of the logs..so I made a temporary PR. https://github.com/probot/adapter-aws-lambda-serverless/pull/85/files
|
ref #85 When you run |
oh 🤦♀️ That makes a lot of sense. I thought that sls invoke was running the lambda function was running everything in full. I tried it out with just a sls deploy and actually starring my repo. I didn't receive that error anymore. Thanks for your patience..So I'm good over here for now. Just user error and nothing to do with probot or octokit. |
if you don't mind, I wonder if the additional error context is helpful. When you run |
unfortunately ,when I ran sls invoke --function router after installing the beta version, it didn't print any information from my console.log(). I still saw the same message of {statusCode: 500, error: "oops"} 😞 |
okay no worries, thanks for checking. I guess we can close this issue now? |
I'm building a probot app that when a user stars a repo, they either get invited to the repo or an issue is opened depending on specific situations. The probot app was working great when I tested via smee, but now that I've put this up on aws lambda I've run into issues.
Initially, I had followed directions from this guide: https://bdougie.github.io/sls-probot-guide/
I realized that part of my issue was the directions are using a deprecated npm package called @probot/serverless-lambda.
I followed the directions found in this repository, and I'm using @probot/adapter-aws-lambda-serverless instead, but when I hit my lambda function, I receive an error that's not very descriptive. It just says "oops".
See screenshot:
Here's my PR: https://github.com/maintainers/invite-automation/pull/33/files
https://github.com/maintainers/invite-automation: whole repo
For my GitHub app..I updated my url. Perhaps, I haven't done that part correctly?
The text was updated successfully, but these errors were encountered: