Skip to content

Commit f45fd45

Browse files
committed
feat: more descriptive error message
in case solver executables are not found by diagnosis
1 parent 1663e0e commit f45fd45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.siemens.jminizinc.diag/src/main/java/at/siemens/ct/jmz/diag/ConsistencyChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private String callExecutor() throws DiagnosisException {
8989
executor.startProcess(modelWriter);
9090
executor.waitForSolution();
9191
} catch (IOException e) {
92-
throw new DiagnosisException("Solver could not be started", e);
92+
throw new DiagnosisException("Solver could not be started. " + e.getMessage(), e);
9393
} catch (InterruptedException e) {
9494
}
9595

0 commit comments

Comments
 (0)