diff options
-rw-r--r-- | buildstream/_artifactcache/pushreceive.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/buildstream/_artifactcache/pushreceive.py b/buildstream/_artifactcache/pushreceive.py index d4b378cb7..41dacf33f 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -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: |