From 9e43629ed9211bc530e91fa239652069c9c9e4ce Mon Sep 17 00:00:00 2001 From: Cameron Dawson Date: Tue, 17 Feb 2015 15:21:36 -0800 Subject: [PATCH] Bug 1133870 - Raise real exception and let it bubble up so real error is not hidden --- treeherder/webapp/api/logslice.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/treeherder/webapp/api/logslice.py b/treeherder/webapp/api/logslice.py index bba78627f2b..746512d2002 100644 --- a/treeherder/webapp/api/logslice.py +++ b/treeherder/webapp/api/logslice.py @@ -78,10 +78,6 @@ def list(self, request, project, jm): return Response(lines) - except Exception as e: - logging.error(e) - raise ResourceNotFoundException("log file not found") - finally: if handle: handle.close()