Skip to content

Commit

Permalink
remove references to gant.TargetExecutionException for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Brown committed Feb 10, 2010
1 parent c28cdc2 commit ba1a0dc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package org.codehaus.groovy.grails.cli;

import gant.Gant;
import gant.TargetExecutionException;
import grails.util.BuildSettings;
import grails.util.BuildSettingsHolder;
import grails.util.Environment;
Expand Down Expand Up @@ -365,7 +364,7 @@ else if (script.name.equalsIgnoreCase("exit") || script.name.equalsIgnoreCase("q
catch (ScriptNotFoundException ex) {
out.println("No script found for " + script.name);
}
catch (TargetExecutionException ex) {
catch (Throwable ex) {
if (ex.getCause() instanceof ScriptExitException) {
out.println("Script exited with code " + ((ScriptExitException) ex.getCause()).getExitCode());
}
Expand Down

0 comments on commit ba1a0dc

Please sign in to comment.