Skip to content
Snippets Groups Projects

Dev into master for production release

Merged Martin Lowe requested to merge dev into master
Files
13
@@ -28,6 +28,7 @@ import org.slf4j.LoggerFactory;
import io.quarkus.runtime.Startup;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.infrastructure.Infrastructure;
import io.undertow.server.handlers.form.MultiPartParserDefinition.FileTooLargeException;
/**
* Imports images from the Eclipse DB OrganizationInformation table into the local imagestore. This will overwrite
@@ -125,7 +126,7 @@ public class LegacyImageMigration {
void writeImageSafely(Supplier<byte[]> logo, Integer organizationID, String mime, ImageStoreFormats format) {
try {
images.writeImage(logo, Integer.toString(organizationID), mime, Optional.of(format));
} catch (RuntimeException e) {
} catch (FileTooLargeException | RuntimeException e) {
LOGGER.error("Error while writing logo for organization {} with format {}", organizationID, format, e);
}
}
Loading