sensu / sensu-transport

The Sensu transport abstraction library.
MIT License
14 stars 19 forks source link

Throw an exception when publishing while disconnected #33

Closed moises-silva closed 7 years ago

moises-silva commented 8 years ago

Fix issue #32

I suppose ideally the AMQP underlying component should throw an exception or provide an error, but at least this way we do not even try if we know we're disconnected.

portertech commented 7 years ago

:+1: