Skip to content
Snippets Groups Projects
Commit 771e6fd6 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Improved error output

parent 5f3d8aab
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,9 @@ public abstract class ModelRunPreprocessor { ...@@ -120,6 +120,9 @@ public abstract class ModelRunPreprocessor {
{ {
errorMessage.append("Output from weather data server was: \n").append(errorOutput); errorMessage.append("Output from weather data server was: \n").append(errorOutput);
} }
// Getting the first parts of the error message from code
errorMessage.append("\nFirst error output from code was: \n")
.append(ex.getMessage());
throw new PreprocessorException(errorMessage.toString()); throw new PreprocessorException(errorMessage.toString());
} }
finally finally
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment