Throw exception for invalid requested image instead of just returning nothing, so we can catch these in sentry.

This commit is contained in:
Dannon Baker
2020-02-20 17:50:46 -05:00
parent b43236d70b
commit 6ed152d976
@@ -53,4 +53,4 @@ class ShedToolStatic(BaseUIController):
trans.response.set_content_type(mime)
return open(asset_path, 'rb')
else:
return None
raise RequestParameterInvalidException()