Skip to content
Snippets Groups Projects
Commit 68de338a authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#663 - log migration error on process start error

parent b2a668f4
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,9 @@ public class MigrationTask implements Runnable ...@@ -142,7 +142,9 @@ public class MigrationTask implements Runnable
} }
catch(IOException e) catch(IOException e)
{ {
throw new MigrationException("Error during migration process", e); final MigrationException exception = new MigrationException("Error during migration process", e);
collectedStdout.add(MessageFormat.format("{0}: {1}", e.getMessage(), e.getCause()));
throw exception;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment