Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current `handle_pyerror` function implementation relies in the `traceback.format_exception_only` python function to format the exception object. The problem is that this python function might also raise an exception. This commit fixes it by enclosing that python function call in try...catch block. Fixes: http://tracker.ceph.com/issues/23406 Signed-off-by: Ricardo Dias <rdias@suse.com>
- Loading branch information