mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
catch all exceptions while applying a patch
This commit is contained in:
@@ -302,9 +302,9 @@ public class Runner {
|
||||
Map<String, ValidationResult.Option> options = ui.askUser(result.validationResults);
|
||||
return PatchFileCreator.apply(result, options, ui);
|
||||
}
|
||||
catch (IOException e) {
|
||||
ui.showError(e);
|
||||
catch (Throwable e) {
|
||||
printStackTrace(e);
|
||||
ui.showError(e);
|
||||
}
|
||||
}
|
||||
finally {
|
||||
@@ -312,9 +312,9 @@ public class Runner {
|
||||
System.gc();
|
||||
cleanup(ui);
|
||||
}
|
||||
catch (IOException e) {
|
||||
ui.showError(e);
|
||||
catch (Throwable e) {
|
||||
printStackTrace(e);
|
||||
ui.showError(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user