Avoid fails when formatting traceback and it does not exists