Skip to content
Snippets Groups Projects
Unverified Commit 472407cf authored by Calen Pennington's avatar Calen Pennington Committed by GitHub
Browse files

Merge pull request #19415 from edx/dsheraz/static_fix

Static storage fix test
parents b18116d0 7b75e18f
No related branches found
Tags release-2020-03-24-13.32
No related merge requests found
......@@ -25,6 +25,16 @@ class PipelineForgivingStorage(PipelineCachedStorage):
out = name
return out
def stored_name(self, name):
try:
out = super(PipelineForgivingStorage, self).stored_name(name)
except ValueError:
# This means that a file could not be found, and normally this would
# cause a fatal error, which seems rather excessive given that
# some packages have missing files in their css all the time.
out = name
return out
class ProductionStorage(
PipelineForgivingStorage,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment