Closed Blacksmoke16 closed 4 months ago
I think this has the potential to make the logs more verbose and scarier than we want. We should judge each case individually if it needs the backtrace.
We only want to log the stacktrace when it's an unhandled exception, there's no need to print the stacktrace when we handle the exception.
Resolves my comment from https://github.com/cloudamqp/amqproxy/commit/98c0bc7bdc2509d62c2191bc3038ce8ddcb0563d#r138864701. Ensures all error logging passes the exception object via the named arg vs in the message.