##// END OF EJS Templates
fsmonitor: coerce watchman exception to bytes...
Gregory Szorc -
r43708:5fa8ac91 stable
parent child Browse files
Show More
@@ -214,9 +214,17 b' def _handleunavailable(ui, state, ex):'
214 state.invalidate()
214 state.invalidate()
215 # experimental config: fsmonitor.verbose
215 # experimental config: fsmonitor.verbose
216 if ui.configbool(b'fsmonitor', b'verbose'):
216 if ui.configbool(b'fsmonitor', b'verbose'):
217 ui.log(b'fsmonitor', b'Watchman unavailable: %s\n', ex.msg)
217 ui.log(
218 b'fsmonitor',
219 b'Watchman unavailable: %s\n',
220 stringutil.forcebytestr(ex.msg),
221 )
218 else:
222 else:
219 ui.log(b'fsmonitor', b'Watchman exception: %s\n', ex)
223 ui.log(
224 b'fsmonitor',
225 b'Watchman exception: %s\n',
226 stringutil.forcebytestr(ex),
227 )
220
228
221
229
222 def _hashignore(ignore):
230 def _hashignore(ignore):
General Comments 0
You need to be logged in to leave comments. Login now