Okay this is not good enough. When Tariff runs in development it returns RuntimeError with 500 status code, because we don't catch errors in development.

Any suggestions how to improve this?