Closed jorgefuertes closed 1 year ago
Solved an exception showing a non existent exception at base-event-manager.rb.
Hey @jorgefuertes, thanks for your PR and sorry I couldn't look at this before; can you elaborate with an example? what's the value of e
in your failing case?
Err... not sure if I'm totally wrong but, none, no exception at 'e' var at that point, can't be possible because its not the rescue block, so just try to log it raises a real exception.
Let me try to explain it better, ok, event is nil, not sure why, maybe a routing problem while I was doing tests o maybe cause I've sent a malformed message. It comes througth the if event.nil? and tries to log a non existent exception at undefined var 'e'.
This example works out of the box.