PackageReferencemight be better to have in
dotnetcommands. For example: i would like to handle nuget exception when a package is already exists so the upload failed. When i call
DotNetCoreNuGetPushit logs the error correctly
error: Response status code does not indicate success: 403 (Package Already Exists).but when i catch the exception from this command it is a
CakeExceptionwithout any detailed information. The only choice is to catch the logs and write some logic to parse to output of that command? Or is there a better way to do the exception handling?