Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

For actions that allows retrying, let the user retry again #697

Closed
christianrondeau opened this issue Mar 20, 2015 · 1 comment
Closed

Comments

@christianrondeau
Copy link

Most of the time, if an action has to be retried, it's because A) the software is still running, or B) some of the uninstall actions are taking longer than expected, or C) I have a file opened in some software, e.g. a config file opened in a text editor.

In many cases, the user could solve the issue and retry; by now "ignoring" the error, we leave junk that could be avoided.

Suggestion:

Maximum tries of 3 reached. Try again? (Yes/No):

Example of what it currently does:

vagrant v1.6.3
 vagrant has been successfully uninstalled.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 Cannot create a file when that file already exists.

This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 Cannot create a file when that file already exists.

Maximum tries of 3 reached. Throwing error.
Move failed with message:
 Cannot create a file when that file already exists.

 Attempting backup move method.

vagrant v1.6.5
 Skipping auto uninstaller - AutoUninstaller feature is not enabled.
 Skipping auto uninstaller - AutoUninstaller feature is not enabled.
 vagrant has been successfully uninstalled.

For more details: https://groups.google.com/forum/#!topic/chocolatey/UVncL7PxXRg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants