You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received a JSON formatted error as the output, but the return code from watchman was 0. I expected errors to return a non-zero exit-status and so was silently ignoring these errors due to the 0 return code.
The text was updated successfully, but these errors were encountered:
Summary:
Currently Watchman returns some errors as query results
without returning a non-zero exit status
(facebook/watchman#42). This change surfaces
those errors as HumanReadableExceptions rather than silently
swallowing the errors and treating them as empty file change sets.
Test Plan: buck test --all
I'm not sure if this is a bug or working as intended, but I was surprised that when I ran:
echo '["query", "/some/unwatched/path", {"since": "n:somenewname"}]' | watchman -j
I received a JSON formatted error as the output, but the return code from watchman was 0. I expected errors to return a non-zero exit-status and so was silently ignoring these errors due to the 0 return code.
The text was updated successfully, but these errors were encountered: