Raise errors when running the management command even if DEBUG is False
This commit is contained in:
@@ -110,7 +110,7 @@ class CompressorMixin(object):
|
||||
cache_set(cache_key, rendered_output)
|
||||
return rendered_output
|
||||
except Exception, e:
|
||||
if settings.DEBUG:
|
||||
if settings.DEBUG or forced:
|
||||
raise e
|
||||
|
||||
# Or don't do anything in production
|
||||
|
||||
Reference in New Issue
Block a user