-
Notifications
You must be signed in to change notification settings - Fork 37
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
Qual tool: Print more useful log messages when failures happen downloading dependencies #1292
Conversation
Signed-off-by: Thomas Graves <[email protected]>
@@ -387,14 +391,22 @@ class RapidsJarTool(RapidsTool): | |||
""" | |||
|
|||
def _process_jar_arg(self): | |||
jar_path = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems redundant because the exception is re-raised if the jars are not downloaded successfully.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you clarify what you think is redundant here? Just the setting of jar_path? the main additions in this are the messages being printed not the exception stacks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I meant we can remove setting the jar_path
explicitly here. Sorry, it wasn't clear in my last comment.
contributes to #1286
Adds in some specific error handling and logging to help with errors downloading jars or not having access to external internet. This is specifically handling a few cases mentioned in the issue.
Tested by making the mvn url go to an invalid host.