##// END OF EJS Templates
fsmonitor: fix exception message scraping...
zphricz -
r30649:b0a0f7b9 default
parent child Browse files
Show More
@@ -87,7 +87,7 b' class client(object):'
87 87 useImmutableBser=True)
88 88 return self._watchmanclient.query(*watchmanargs)
89 89 except pywatchman.CommandError as ex:
90 if ex.msg.startswith('unable to resolve root'):
90 if 'unable to resolve root' in ex.msg:
91 91 raise WatchmanNoRoot(self._root, ex.msg)
92 92 raise Unavailable(ex.msg)
93 93 except pywatchman.WatchmanError as ex:
General Comments 0
You need to be logged in to leave comments. Login now