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

Trace not-found and blacklist warnings as actual warnings #2997

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

viktor-svub
Copy link
Contributor

Specific explicitly handled and repeated "errors" are changed to "warn if not before" to avoid stderr writes and/or console/log flooding when the resolver actually continues and can succeed.
Trace not-found and blacklist warnings as actual warnings, and only once per query and source combination.

@@ -301,7 312,7 @@ let rec private getPackageDetails alternativeProjectRoot root force (parameters:
return! tryV3 nugetSource force
with
| exn ->
eprintfn "Possible Performance degradation, V3 was not working: %s" exn.Message
traceWarnfn "Possible Performance degradation, V3 was not working: %s" exn.Message
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @matthid good idea?

@forki
Copy link
Member

forki commented Jan 18, 2018

wow you are on fire!

@forki forki merged commit 451d5ef into fsprojects:master Jan 18, 2018
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.

None yet

2 participants