-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add ProcessExitedError rather than using error
#27900
Conversation
I think I need to rebase this as I think it is based off a version of master that doesn't build |
Ok testing this locally it all passes except one. I get the error:
|
So according to the ruling that changing errors to non-errors is a nonbreaking change, So I should rebase this. |
Yes, that would be great! |
@ararslan did I fix everything you wanted fixing? |
Problem. |
Ok, looks like tests all pass. |
Could it not just use the one now defined in Base? That would be non-breaking. |
Download tests etc are run after the main test suite. This definitely looks related:
|
Not trivially, since the one now defined in base holds a |
Did not know that. |
|
Travis MacOS failure is unrelated, I think. So I think this is done. does it [NeedsNEWS]? |
Using If you consolidate ProcessExitedException() = ProcessExitedException(nothing) for use in Distributed. |
This is already breaking, since code could be checking for The consolidation could be done. If you think that that kinda hackyness is preferable. (I would as an aside say there is an argument for |
Fair point, though I would guess (based on no actual data) that specifically looking for an
I don't think it's hacky at all. We could alternatively make Distributed fill in the field with the process information from the spawned Julia process, but that seems unnecessary since the information isn't used anywhere.
If |
I forgot about that. My bad.
I think it is, a bit, based on the fact that this errror type is specifically for printing about Ok I'll make the change |
Reference Distributed Computing Manpage remove whitespace
Ok, I think I found it. |
The Travis and AppVeyor failures are unrelated. And according to #infastructure generally broken right now. |
Can this go in now? Before the feature freeze. Assuming noone has a dread hatred of using the |
I'm going to merge as-is tomorrow if this doesn't get a review... |
This has had multiple approved reviews for a long time. |
stderr = readline(err) | ||
error(stderr) | ||
error_msg = readline(err) | ||
@error "Download Failed" error_msg |
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 should've been a string interpolation, fixed in #31620
This has been bugging me for years.
I thought it was solved during 0.7-Dev.
As someone calling external processes,
when they fail I want a unique exception type to be thrown,
so I can handle it appropriately.
I think this will require tests being updated
I wrote it as a PR because it is more clear than writing an issue I think.
But this is basically an issue.