diff --git a/lib/galaxy/objectstore/__init__.py b/lib/galaxy/objectstore/__init__.py index 5d7596be6036..6b25071ccad3 100644 --- a/lib/galaxy/objectstore/__init__.py +++ b/lib/galaxy/objectstore/__init__.py @@ -849,7 +849,9 @@ def _delete(self, obj, entire_dir=False, **kwargs): # Absolutely possible that a delete request races, but that's "fine". return True except OSError as ex: - log.critical(f"{self.__get_filename(obj, **kwargs)} delete error {ex}") + # Likely a race condition in which we delete the job working directory + # and another process writes files into that directory. + log.critical(f"{self.__get_filename(obj, **kwargs)} delete error {ex}", exc_info=True) return False def _get_data(self, obj, start=0, count=-1, **kwargs):