Skip to content

Commit

Permalink
use logging structure for stack traces
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Oct 11, 2023
1 parent 778e3f4 commit 405153b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ public final UpdateRequestProcessor getInstance(
new AverageClassificationScoringStrategy(),
new InferenceOptions());
} catch (IOException e) {
e.printStackTrace();
log.warn("Attempted to initialize documentCategorizerDL", e);
} catch (OrtException e) {
e.printStackTrace();
log.warn("Attempted to initialize documentCategorizerDL", e);
}
}

Expand Down

0 comments on commit 405153b

Please sign in to comment.