Commit Graph

26 Commits

Author SHA1 Message Date
Brandon Keepers 14e283b04e
Log unhandled rejections 2017-04-29 07:56:12 -05:00
Brandon Keepers e7bf122903
Disable raven console alerts 2017-04-08 17:50:14 -05:00
Brandon Keepers f40d2376d3
Merge remote-tracking branch 'origin/master' into raven-log
* origin/master:
  Release v0.4.0.
  Update log for local server
  Remove tunnel script
  Move subdomain config
  Update docs to use localtunnel
  Add subdomain option
  Setup tunnel using localtunnel
  Ensure node version is satisfied
2017-04-08 17:38:36 -05:00
Brandon Keepers 64814d2592
Update log for local server 2017-04-08 17:35:29 -05:00
Brandon Keepers 85ad97d5d6
autoBreadcrumbs 2017-04-08 12:21:37 -05:00
Brandon Keepers f8ac99d674
Use local logger variable 2017-04-08 12:18:53 -05:00
Brandon Keepers fd3f1e0208
Connect sentry to logger 2017-04-08 12:18:31 -05:00
Brandon Keepers e64f65a5fc
Move logger setup to index 2017-04-08 12:05:26 -05:00
Brandon Keepers eb07a5df68
Don't override unhandled rejection, report webhook errors 2017-04-06 08:40:48 -05:00
Brandon Keepers 4a28aaa3f9
capture unhandled rejections 2017-03-31 17:46:06 -07:00
Brandon Keepers d7e43aad7b
Fix lint errors 2017-03-31 17:38:25 -07:00
Brandon Keepers 37140a285b
Add raven to report errors to sentry 2017-03-31 17:37:00 -07:00
Brandon Keepers 530da8b31f
Add cache and cache installation token 2017-03-27 22:13:17 -05:00
Brandon Keepers 89e3310582
Use commander for CLI 2017-03-17 21:04:23 -07:00
Avinash Sridhar 9412b63c95 Merge branch 'master' into dont-crash-on-bad-webhook 2017-03-14 20:53:06 -04:00
Avinash Sridhar 05049822df
Use webhook error message to catch and log error
Removed the domain check. Now this fails with the a valid web hook
error but does not crash the server
2017-03-14 20:51:01 -04:00
Brandon Keepers 8295f51de5
Move dotenv loading to bin 2017-03-14 16:58:50 -05:00
Avinash Sridhar 631797e10f
fixing failing tests
fixing some of the missing semicolon tests.
Also removed the process.exit(1) from index.js since this should be
handled in a CLI app like `probot.js`
2017-03-14 13:53:47 -04:00
Brandon Keepers b0445f2439
Merge remote-tracking branch 'origin/master' into sridharavinash-dot-env-load-catch-error
* origin/master:
  Update all the docs
  Debug
  More updates to docs
  Add context.isBot
  Update package name
  Edits
  Remove old documentation
  Add robot.auth
  Add plugin docs
  WIP: readme
  Support loading from script or module
  Remove unused fixtures
  The shell of a robot
2017-03-14 09:59:59 -05:00
Brandon Keepers 3ee74d50d1 Update syntax 2017-03-14 09:52:26 -05:00
Avinash Sridhar 1e9a717789
Error message without stack on dot-env load
`require dotenv-safe` throws a  stack trace when it has missing
variables. This PR is an attempt to catch the error and only print the
`error.message` and exit.
2017-03-14 00:14:32 -04:00
Brandon Keepers ffbee1c16d
The shell of a robot 2017-03-11 15:58:36 -06:00
Brandon Keepers f1511fcc17
Always load dotenv 2017-03-11 09:17:15 -06:00
Brandon Keepers 966ee288ca
Use dotenv-safe if not in production 2017-03-11 08:20:28 -06:00
Brandon Keepers c2ec31c425
Move GitHub Integration code to a module 2017-02-26 16:47:52 -06:00
Brandon Keepers 365f16be3f
Rename server.js to index.js 2017-02-24 20:32:00 -06:00