Heroku "App Crashed"

dwylbot is crashing on Heroku when a new event is received.
- reproduce the error on localhost to get more information about the issue
error:

Function call error:
The error is due to the call of the function Enum.any?/2 with the first parameter being nil when dwylbot check for breaking rules:
https://github.com/dwyl/dwylbot/blob/f2ff1ba6c32d6656a7b3cc3abfcf1299bdac0f7c/lib/dwylbot_web/controllers/processes/wait.ex#L12
Github payload error, bad credentials

The payload isn't received properly due to a "bad credentials" so Enum.any? isn't able to run on a wrong payload
Installation token is nil:
https://github.com/dwyl/dwylbot/blob/f2ff1ba6c32d6656a7b3cc3abfcf1299bdac0f7c/lib/dwylbot_web/controllers/event_controller.ex#L10
Installation not found:

The error on my localhost was due to a conflicts between multiple dwylbot Github app tests. After updating the environment variables everything works fine. The next step is to see if the error is similar on the server. I'll try to get more logs info directly from the server instead of using a localhost app.
While looking for logs #180, I spotted some other issues/logging infomraiton that could also be resolved:
- remove database connection #177
- start server with
mix phx.server#178
However I couldn't find more information about the current error on the production at this stage with heroku logs. The next step is to understand how to logo more info in a production information, otherwise another thought is to make sure that all the environmnent variables are properly loaded, I think Phoenix 1.3 might do this differently.