Show More
@@ -105,11 +105,11 b' class client(object):' | |||||
105 | ) |
|
105 | ) | |
106 | return self._watchmanclient.query(*watchmanargs) |
|
106 | return self._watchmanclient.query(*watchmanargs) | |
107 | except pywatchman.CommandError as ex: |
|
107 | except pywatchman.CommandError as ex: | |
108 |
if |
|
108 | if 'unable to resolve root' in ex.msg: | |
109 | raise WatchmanNoRoot( |
|
109 | raise WatchmanNoRoot( | |
110 | self._root, stringutil.forcebytestr(ex.msg) |
|
110 | self._root, stringutil.forcebytestr(ex.msg) | |
111 | ) |
|
111 | ) | |
112 | raise Unavailable(ex.msg) |
|
112 | raise Unavailable(stringutil.forcebytestr(ex.msg)) | |
113 | except pywatchman.WatchmanError as ex: |
|
113 | except pywatchman.WatchmanError as ex: | |
114 | raise Unavailable(stringutil.forcebytestr(ex)) |
|
114 | raise Unavailable(stringutil.forcebytestr(ex)) | |
115 |
|
115 |
General Comments 0
You need to be logged in to leave comments.
Login now