renderedtext / ex-tackle

💯 percent reliable microservice communication
MIT License
48 stars 14 forks source link

An uncaught exception handler #11

Open shiroyasha opened 7 years ago

shiroyasha commented 7 years ago

The current best solution is:

def handle_message(message)
  try do
     :a + 1
  rescue 
      e -> 
           # do soemthing
           raise e
  end
end

@snehaso suggested that we could have an on_uncought_exception handler.

I think that sounds good ^ 👍

predrag-rakic commented 7 years ago

Maybe to call it exception_handler