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

Change the non-fatal jar error to debug rather than log warning #1331

Merged
merged 1 commit into from Jan 20, 2020

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Jan 20, 2020

fixes #1304

This will fix the warning that users are getting for example about a missing /Users directory or other superfluous warnings coming from non fatal errors when we scan the jar files.

I went ahead and changed this to debug which was mentioned in the issue. If there is a scenario where you think this isn't ideal, what would that scenario be, and what is an alternative way to do this?

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

I think it's fine to change to debug - it's actually never been useful.

@ckipp01
Copy link
Member Author

ckipp01 commented Jan 20, 2020

Test failure seems like a fluke and unrelated since it was with resolving dependencies and only happened in the ubuntu jdk8 test.

[error] sbt.librarymanagement.ResolveException: Error downloading org.scalameta:sbt-mdoc;sbtVersion=1.0;scalaVersion=2.12:2.1.1
[error]   Not found
[error]   Not found

@ckipp01 ckipp01 merged commit 73f1e6b into scalameta:master Jan 20, 2020
@ckipp01 ckipp01 deleted the jar-warning branch January 20, 2020 14:55
@tgodzik
Copy link
Contributor

tgodzik commented Jan 20, 2020

Test failure seems like a fluke and unrelated since it was with resolving dependencies and only happened in the ubuntu jdk8 test.

[error] sbt.librarymanagement.ResolveException: Error downloading org.scalameta:sbt-mdoc;sbtVersion=1.0;scalaVersion=2.12:2.1.1
[error]   Not found
[error]   Not found

Yeah, aside of flaky tests we are getting flaky downloads recently :/

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.

Exception on a "strange" source jar
2 participants