diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

`dotnet-symbol` always exits with success code

Open johnstairs opened this issue 3 years ago • 0 comments

The exit code of dotnet-symbol should be non-zero when it encounters an error. Example:

$ cat /foo/bar
cat: /foo/bar: No such file or directory
$ echo $?
1
$ dotnet symbol --symbols /foo/bar
Downloading from http://msdl.microsoft.com/download/symbols/
ERROR: Could not find a part of the path '/foo'.
$ echo $?
0

johnstairs avatar Feb 02 '22 16:02 johnstairs