Skip to content

Commit

Permalink
Bug 1133870 - Raise real exception and let it bubble up so real error…
Browse files Browse the repository at this point in the history
… is not hidden
  • Loading branch information
Cameron Dawson committed Feb 18, 2015
1 parent fd7cd20 commit 9e43629
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions treeherder/webapp/api/logslice.py
Expand Up @@ -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()
Expand Down

0 comments on commit 9e43629

Please sign in to comment.