Skip to content

Commit

Permalink
Don't attempt output for a document at all if error occurs at any stage
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Mar 2, 2022
1 parent 55bc94f commit 80d8037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.ohnlp.medtagger</groupId>
<artifactId>medtagger</artifactId>
<version>1.0.31</version>
<version>1.0.32</version>
<description>The MedTagger biomedical information extraction pipeline</description>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ public void processElement(@Element Row input, OutputReceiver<Row> output) {
t.printStackTrace();
future.cancel(true);
nlpExecutor.shutdownNow();
return;
}
try {
JCas jcas = casRef.getJCas();
Expand Down

0 comments on commit 80d8037

Please sign in to comment.