Skip to content
Snippets Groups Projects
Commit de194dad authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

_artifactcache/pushreceive.py: Cleanup reported error when receiving oversized artifacts

This user facing string was redundantly declared in two places, only
the message when catching the error was ever printed.
parent a231d41b
No related branches found
No related tags found
1 merge request!490Expire artifacts in the remote artifact cache
Pipeline #23444439 passed
......@@ -643,9 +643,8 @@ class OSTreeReceiver(object):
def run(self):
try:
exit_code = self.do_run()
except ArtifactTooLargeException:
logging.warning("The artifact was too large for the filesystem which mounts "
"the remote cache.")
except ArtifactTooLargeException as e:
logging.warning(str(e))
exit_code = 0
except:
......
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