TiagoDanin / Add-License-Bot

Generate LICENSE file from package.json
https://tiagodanin.github.io/Add-License-Bot/
MIT License
6 stars 2 forks source link

Bot stopped working! #40

Closed TiagoDanin closed 5 years ago

TiagoDanin commented 5 years ago
2019-09-12T02:41:50.619648+00:00 app[web.1]:       at Application.<anonymous> (/app/node_modules/probot/lib/application.js:153:50)
2019-09-12T02:41:50.619675+00:00 app[web.1]:       at step (/app/node_modules/probot/lib/application.js:43:23)
2019-09-12T02:41:50.619679+00:00 app[web.1]:       at Object.next (/app/node_modules/probot/lib/application.js:24:53)
2019-09-12T02:41:50.619681+00:00 app[web.1]:       at fulfilled (/app/node_modules/probot/lib/application.js:15:58)
2019-09-12T02:41:50.619683+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:93:5)
2019-09-12T02:41:50.622569+00:00 app[web.1]: 02:41:50.622Z  INFO http: POST / 500 - 20.79 ms (id=6b8ea3f2-616c-4051-8b7a-5fd60edc6d46)
2019-09-12T02:41:50.623831+00:00 app[web.1]: 02:41:50.623Z TRACE http:  (id=6b8ea3f2-616c-4051-8b7a-5fd60edc6d46, res.duration=20.79)
2019-09-12T02:41:50.623835+00:00 app[web.1]:   HTTP/1.1 500 Internal Server Error
2019-09-12T02:41:50.623837+00:00 app[web.1]:   x-powered-by: Express
2019-09-12T02:41:50.623839+00:00 app[web.1]:   x-request-id: 6b8ea3f2-616c-4051-8b7a-5fd60edc6d46
2019-09-12T02:42:35.150288+00:00 heroku[router]: at=info method=POST path="/" host=add-license-bot.herokuapp.com request_id=XXXXXXXXXXXXXXX fwd="XXXXXXXXXXXXXXX" dyno=web.1 connect=0ms service=5ms status=500 bytes=217 protocol=https
2019-09-12T02:42:35.146920+00:00 app[web.1]: 02:42:35.146Z TRACE http: POST / (id=69224ee6-d580-49a3-ba85-92ae83e22908, req.remoteAddress=::ffff:10.165.120.149, req.remotePort=31315)
2019-09-12T02:42:35.146933+00:00 app[web.1]:   POST / HTTP/1.1
2019-09-12T02:42:35.146936+00:00 app[web.1]:   host: add-license-bot.herokuapp.com
2019-09-12T02:42:35.146938+00:00 app[web.1]:   connection: close
2019-09-12T02:42:35.146940+00:00 app[web.1]:   accept: */*
2019-09-12T02:42:35.146942+00:00 app[web.1]:   user-agent: GitHub-Hookshot/bc1ff85
2019-09-12T02:42:35.146944+00:00 app[web.1]:   x-github-event: push
2019-09-12T02:42:35.146947+00:00 app[web.1]:   x-github-delivery: XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146949+00:00 app[web.1]:   content-type: application/json
2019-09-12T02:42:35.146952+00:00 app[web.1]:   x-hub-signature: sha1=e407512b39057dc1b1308fd5850d653328a3f349
2019-09-12T02:42:35.146954+00:00 app[web.1]:   x-request-id: 6XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146956+00:00 app[web.1]:   x-forwarded-for: 192XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146958+00:00 app[web.1]:   x-forwarded-proto: https
2019-09-12T02:42:35.146960+00:00 app[web.1]:   x-forwarded-port: 443
2019-09-12T02:42:35.146962+00:00 app[web.1]:   via: 1.1 vegur
2019-09-12T02:42:35.146964+00:00 app[web.1]:   connect-time: 0
2019-09-12T02:42:35.146967+00:00 app[web.1]:   x-request-start: 156XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146969+00:00 app[web.1]:   total-route-time: 0
2019-09-12T02:42:35.146971+00:00 app[web.1]:   content-length: 7416
2019-09-12T02:42:35.147891+00:00 app[web.1]: 02:42:35.147Z DEBUG probot: Webhook received
2019-09-12T02:42:35.147894+00:00 app[web.1]:   event: {
2019-09-12T02:42:35.147896+00:00 app[web.1]:     "event": "push",
2019-09-12T02:42:35.147899+00:00 app[web.1]:     "id": "f99b48XXXXXXXXXXXXXXX",
2019-09-12T02:42:35.147901+00:00 app[web.1]:     "installation": 3XXXXXXXXXXXXXXX,
2019-09-12T02:42:35.147903+00:00 app[web.1]:     "repository": "TiagoDanin/TestGithub"
2019-09-12T02:42:35.147905+00:00 app[web.1]:   }
2019-09-12T02:42:35.148924+00:00 app[web.1]: 02:42:35.148Z  INFO probot: Analyzed { owner: 'TiagoDanin', repo: 'TestGithub' }
2019-09-12T02:42:35.149653+00:00 app[web.1]: 02:42:35.149Z ERROR event: github.repos.getContent is not a function (id=f99b489c-d506-1XXXXXXXXXXXXXXXee5f)
2019-09-12T02:42:35.149656+00:00 app[web.1]:   TypeError: github.repos.getContent is not a function
2019-09-12T02:42:35.149658+00:00 app[web.1]:       at checkFiles (/app/index.js:53:35)
2019-09-12T02:42:35.149661+00:00 app[web.1]:       at /app/index.js:126:10
2019-09-12T02:42:35.149663+00:00 app[web.1]:       at Application.<anonymous> (/app/node_modules/probot/lib/application.js:153:50)
2019-09-12T02:42:35.149665+00:00 app[web.1]:       at step (/app/node_modules/probot/lib/application.js:43:23)
2019-09-12T02:42:35.149667+00:00 app[web.1]:       at Object.next (/app/node_modules/probot/lib/application.js:24:53)
2019-09-12T02:42:35.149669+00:00 app[web.1]:       at fulfilled (/app/node_modules/probot/lib/application.js:15:58)
2019-09-12T02:42:35.149671+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:93:5)
2019-09-12T02:42:35.149673+00:00 app[web.1]:   --
2019-09-12T02:42:35.149675+00:00 app[web.1]:   event: {
2019-09-12T02:42:35.149677+00:00 app[web.1]:     "event": "push",
2019-09-12T02:42:35.149679+00:00 app[web.1]:     "id": "f99b4XXXXXXXXXXXXXXXe5f",
2019-09-12T02:42:35.149681+00:00 app[web.1]:     "installation": 38XXXXXXXXXXXXXXX,
2019-09-12T02:42:35.149683+00:00 app[web.1]:     "repository": "TiagoDanin/TestGithub"
2019-09-12T02:42:35.149685+00:00 app[web.1]:   }
2019-09-12T02:42:35.150055+00:00 app[web.1]: 02:42:35.149Z ERROR probot: github.repos.getContent is not a function
2019-09-12T02:42:35.150059+00:00 app[web.1]:   TypeError: github.repos.getContent is not a function
2019-09-12T02:42:35.150061+00:00 app[web.1]:       at checkFiles (/app/index.js:53:35)
2019-09-12T02:42:35.150063+00:00 app[web.1]:       at /app/index.js:126:10
2019-09-12T02:42:35.150066+00:00 app[web.1]:       at Application.<anonymous> (/app/node_modules/probot/lib/application.js:153:50)
2019-09-12T02:42:35.150068+00:00 app[web.1]:       at step (/app/node_modules/probot/lib/application.js:43:23)
2019-09-12T02:42:35.150070+00:00 app[web.1]:       at Object.next (/app/node_modules/probot/lib/application.js:24:53)
2019-09-12T02:42:35.150072+00:00 app[web.1]:       at fulfilled (/app/node_modules/probot/lib/application.js:15:58)
2019-09-12T02:42:35.150074+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:93:5)
2019-09-12T02:42:35.150889+00:00 app[web.1]: 02:42:35.150Z  INFO http: POST / 500 - 3.78 ms (id=692XXXXXXXXXXXXXXX908)
2019-09-12T02:42:35.151271+00:00 app[web.1]: 02:42:35.151Z TRACE http:  (id=69XXXXXXXXXXXXXXX2908, res.duration=3.78)
2019-09-12T02:42:35.151275+00:00 app[web.1]:   HTTP/1.1 500 Internal Server Error
2019-09-12T02:42:35.151278+00:00 app[web.1]:   x-powered-by: Express
2019-09-12T02:42:35.151280+00:00 app[web.1]:   x-request-id: 69224XXXXXXXXXXXXXXX908