Skip to content

Commit

Permalink
more verbose exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Dec 6, 2023
1 parent 7827c4f commit ba2317b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ public void runInterprocessing(List<Tensor<?>> inputTensors, List<Tensor<?>> out
process.destroy();
if (result != 0)
throw new RunModelException("Error executing the Tensorflow 1 model in"
+ " a separate process. The process was not terminated correctly.");
// TODO + System.lineSeparator() + readProcessStringOutput(process));
+ " a separate process. The process was not terminated correctly."
+ System.lineSeparator() + readProcessStringOutput(process));
} catch (RunModelException e) {
closeModel();
throw e;
Expand Down

0 comments on commit ba2317b

Please sign in to comment.