bripkens / health-check-adapter

Connect health check endpoints to Slack
Apache License 2.0
3 stars 3 forks source link

Implement main method explicitly instead of using the scala.App trait #12

Closed britter closed 8 years ago

britter commented 8 years ago

I've learned from @hseeberger, that the App trait has some nasty details to be aware off. It uses DelayedInit which is deprecated and will be removed in the future. One problem is the initialization order, which can cause problems.

For this reason it's better to simply implement a main method explicitly get rid of the App trait.

bripkens commented 8 years ago

LGTM :+1: