src: fix tracing if cwd or file path is inaccessible
Otherwise this would have crashed the process. In particular, checking the return value of an libuv call against `-1` was invalid to begin with, as libuv uses it to propagate the error code. PR-URL: https://github.com/nodejs/node/pull/21867 Reviewed-By:James M Snell <jasnell@gmail.com> Reviewed-By:
Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By:
Ali Ijaz Sheikh <ofrobots@google.com>
parent
620e46c8
Please register or sign in to comment