-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Catch file transfer error and stop transfer ownership command #17913
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
Catch file transfer error and stop transfer ownership command #17913
Conversation
| if ($this->transfer($output) === false) { | ||
| $output->writeln('<error>Could not transfer files</error>'); | ||
| // Abort | ||
| return 1; |
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.
Is the real error logged?
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.
Couldn't find out. Some exceptions are thrown, some are caught.
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.
Maybe a storage export like @icewind1991 or @rullzer can tell?
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.
I guess here it is not possible...
|
I guess this needs a rebase then 😉 |
Signed-off-by: Christoph Wurst <[email protected]>
b3cd39a to
70f4e7e
Compare
Done. So much cleaner now :) |
|
Review time! |
Ref #15664
This does not check quota as I do not have a clue how to do this. But it checks the returned value of the move operation. Better than nothing.