-
Notifications
You must be signed in to change notification settings - Fork 58
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
Peril always crashes when posting comments #436
Comments
Interesting, the only times the length is used in the Executor is on the different attributes of |
Going through the generated JS it actually fails on this: git is undefined at this point locally danger posts to github just fine, but that's with my token not via github app |
I believe I am seeing the same issue with a brand new Github app with very simple settings.
When master (b69e580) is deployed to Heroku or when running locally, I'm getting this crash:
Using Is there any other info I can give to help with debugging? The Github app is set up exactly as described in the guide so this seems to be as stock as a setup could be unless I'm missing something. Could this be related to the other issue I reported in #367 (comment)? It was also introduced by the Danger update. I'll keep digging. |
This line was added to
It looks like this may be the line that it's crashing on. So I have tried adding |
As @jtreanor pointed out it works with |
The root cause of this crash is that Peril does not have a |
Alright, Peril is now up to date with the changes in Danger JS in master ^ |
Great! The PR to close this is here: #438 I have tested it and I'm not seeing the crash anymore 🎉 |
Hey,
I've been trying to debug this one myself and getting nowhere. It's probably something really trivial 😬
The same happens for Peril hosted on Heroku and development version via ngrok.
Deployed latest master@ff390dc65b4561634ffae56f10fa3a52265afdf3
Github app only has access to a few repos in the org. I tried granting all permissions on dev so it's not that.
Peril settings file:
dangerfile.ts:
Peril crashes out with this error after dangerfile is evaluated:
Any idea what this could be ?
The text was updated successfully, but these errors were encountered: