kytrinyx/exercism — pull request #6 by theotherzach (2013-06-20 03:24:11+00:00)
Title: Feature/no stack traces

I'm a bit of a nut when it comes to hiding stack traces from end users. Many in the Ruby community think I'm nuts so no hard feelings if this doesn't get merged in. :)

* Capture SIGINT to prevent stack traces being shown to the user on intentional exiting.
* A big nasty begin rescue block to wrap the whole application to prevent stack traces being shown to the user on unintentional exiting.
* Override the rescue Exception for development mode.