Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up System.Commandline API to v2.0.0-beta4.22272.1 #959

Merged
merged 6 commits into from
Aug 4, 2022

Conversation

MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Aug 1, 2022

Resolves #888
Should fix #900

Comment on lines +61 to +70
catch (Exception ex)
{
#if DEBUG
logger.LogCritical(ex, ex.Message);
throw; // so debug tools go straight to the source of the exception when attached
#else
logger.LogCritical( ex.Message);
return 1;
#endif
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
Comment on lines 36 to 46
catch (Exception ex)
{
#if DEBUG
logger.LogCritical(ex, ex.Message);
throw; // so debug tools go straight to the source of the exception when attached
#else
logger.LogCritical( ex.Message);
Environment.Exit(1);
return 1;
#endif
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
Comment on lines 215 to +218
catch (Exception ex)
{
#if DEBUG
logger.LogCritical(ex, ex.Message);
#else
logger.LogCritical(ex.Message);

#endif
return 1;
}
throw new InvalidOperationException($"Could not transform the document, reason: {ex.Message}", ex);
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
@MaggieKimani1 MaggieKimani1 merged commit a5923c0 into vnext Aug 4, 2022
@MaggieKimani1 MaggieKimani1 deleted the mk/upgrade-system-commandline branch August 4, 2022 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hidi returns exit code 0 even when failing on mac
2 participants