super(error);
Matcher matcher = pattern.matcher(error.message);
if (!matcher.find())
- throw new RuntimeException("Could not parse migration-error: " + error.message);
+ {
+ String warning = "Could not parse migration-error: " + error.message;
+ LOG.error(warning);
+ throw new RuntimeException(warning);
+ }
oldId = Long.parseLong(matcher.group(1));
newId = Long.parseLong(matcher.group(2));
}