Re-raise original exception
This commit is contained in:
@@ -111,7 +111,7 @@ class CompressorMixin(object):
|
|||||||
return rendered_output
|
return rendered_output
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
if settings.DEBUG or forced:
|
if settings.DEBUG or forced:
|
||||||
raise e
|
raise
|
||||||
|
|
||||||
# Or don't do anything in production
|
# Or don't do anything in production
|
||||||
return self.get_original_content(context)
|
return self.get_original_content(context)
|
||||||
|
Reference in New Issue
Block a user