- # ignore: RuntimeError: Set changed size during iteration
- except RuntimeError:
- logging.debug('caught exception RuntimeError, ignoring')
+ except RuntimeError:
+ msg = 'RuntimeError while removing temporary %s, ignoring'
+ logging.debug(msg % tmpfile)