derekcollison/nats — pull request #43 by lukebakken (2012-08-29 15:44:57+00:00)
Title: Lost exception.

Hello -

While updating some of the services code in IronFoundry/vcap-services, I noticed that a recent update to vcap-services-base caused a "NATS could not connect" error immediatley when running one of the _gateway executables. It took me a while but I figured out that really a validation exception was being thrown (missing data in a config/*.yml file) and then lost due to the "exit" statement in the on_error routine.

I modified bin/nats-sub to demonstrate the issue as well as made some lame attempts at fixing it. I'm not a ruby expert so I'm looking forward to seeing the "right" way to address this.

Thanks a lot!