hubot-heroku-keepalive icon indicating copy to clipboard operation
hubot-heroku-keepalive copied to clipboard

Don't be as annoying in development

Open technicalpickles opened this issue 10 years ago • 2 comments
trafficstars

If you have this in your external-scripts.json in development without HUBOT_HEROKU_KEEPALIVE_URL or HEROKU_URL, it will log a warning every startup which is kind of annoying.

I'm open to suggestions about shushing it. Some ideas:

  • look at NODE_ENV, and don't warn during development
  • look at a new environment variable to not warn

cc https://github.com/github/generator-hubot/issues/25

technicalpickles avatar Feb 13 '15 22:02 technicalpickles

also cc https://github.com/github/hubot/issues/827 @mal since it's a bit of a tangent.

technicalpickles avatar Feb 13 '15 22:02 technicalpickles

Another idea I had for this is to support setting HUBOT_HEROKU_KEEPALIVE_URL=false to disable. That way, if it's unset, it'll prompt you to configure it with a real URL or false.

technicalpickles avatar Aug 24 '15 13:08 technicalpickles