Closed sdesbure closed 7 years ago
Hi @sdesbure , this is a known issue. I have had too many personal things to do for almost a month, and I'll start hacking this weekend and fix this soon!
Hi @sdesbure ,
I just pushed a commit to master for several rescue_from support, you can check these unittest to understand the general.
But, rescue_from
is bind to router, not endpoint. So you should keep it out of namespace
resources
and so on.
If you have any question, leave me a message please.
Could I close this issue now?
Hello, I'm deeply sorry, I forgot to close. It works! Thank you
Hello, I've got a definition like this:
and in
MyApp.API.Test
:As you see, I have 2
rescue_from
and the inner one doesn't work. Regarding the implementation, it's seems to be OK. But if I remove the outer (rescue_from :all
), the inner still doesn't work :( And if I put the inner inMyApp.API
then my tests are failing (the error is not catched). Any idea how to do that?I'm mimicking an already deployed app server so I don't really have the choice for the error handling output...