##// END OF EJS Templates
blackbox: do not nullify repo to deactivate the logger on failure...
Yuya Nishihara -
r40796:3ede5d17 default
parent child Browse files
Show More
@@ -184,7 +184,7 b' class blackboxlogger(object):'
184 fp.write(fmt % args)
184 fp.write(fmt % args)
185 except (IOError, OSError) as err:
185 except (IOError, OSError) as err:
186 # deactivate this to avoid failed logging again
186 # deactivate this to avoid failed logging again
187 self._repo = None
187 self._trackedevents.clear()
188 ui.debug('warning: cannot write to blackbox.log: %s\n' %
188 ui.debug('warning: cannot write to blackbox.log: %s\n' %
189 encoding.strtolocal(err.strerror))
189 encoding.strtolocal(err.strerror))
190
190
General Comments 0
You need to be logged in to leave comments. Login now