Trying to fix the error serialization

This commit is contained in:
Marcin Grzejszczak
2023-03-28 15:39:09 +02:00
parent 9bd1febfb6
commit a0b43f5ac6

View File

@@ -83,7 +83,7 @@ public class SaganUpdater {
}
catch (Exception ex) {
log.warn("Exception occurred while trying to update sagan release", ex);
updateReleaseException = ex;
updateReleaseException = new IllegalStateException(ex.toString());
}
}
return updateReleaseException == null ? ExecutionResult.success()
@@ -173,7 +173,7 @@ public class SaganUpdater {
}
catch (Exception e) {
log.warn("Failed to update [" + version.projectName + "/" + snapshot + "] from Sagan", e);
updateReleaseException = e;
updateReleaseException = new RuntimeException(e.toString());
}
}
}