Skip to content

Commit 8e6e655

Browse files
committed
removed generation of TaskExecutionException on preprocessor.execute error
1 parent 041b3d4 commit 8e6e655

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

jcp/src/main/java/com/igormaznitsa/jcp/gradle/JcpPreprocessTask.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import com.igormaznitsa.jcp.JcpPreprocessor;
77
import com.igormaznitsa.jcp.context.PreprocessorContext;
8-
import com.igormaznitsa.jcp.exceptions.PreprocessorException;
98
import com.igormaznitsa.jcp.expression.Value;
109
import com.igormaznitsa.jcp.logger.PreprocessorLogger;
1110
import java.io.File;
@@ -411,10 +410,6 @@ public void warning(@Nullable final String message) {
411410
final JcpPreprocessor preprocessor = new JcpPreprocessor(preprocessorContext);
412411
logger.debug("Start preprocessing...");
413412

414-
try {
415-
preprocessor.execute();
416-
} catch (final PreprocessorException ex) {
417-
throw new TaskExecutionException(this, ex);
418-
}
413+
preprocessor.execute();
419414
}
420415
}

0 commit comments

Comments
 (0)