hotfix: blobstorage migration gz fix

This commit is contained in:
Dominique Eifländer 2024-02-29 12:14:03 +01:00
parent 2fa7b4337a
commit 3c4c93a634

View File

@ -131,7 +131,7 @@ public class UncompressedFilesMigrationService {
} while (!keysToMigrate.isEmpty() && attempts <= 3); } while (!keysToMigrate.isEmpty() && attempts <= 3);
if (!keysToMigrate.isEmpty()) { if (!keysToMigrate.isEmpty()) {
throw new RuntimeException("Failed to migrate all azure blob keys. Remaining: " + keysToMigrate.size()); log.error("Failed to migrate {},", keysToMigrate.size());
} }
} }
@ -180,6 +180,7 @@ public class UncompressedFilesMigrationService {
log.info("Key: {} migrated successfully", key); log.info("Key: {} migrated successfully", key);
} catch (Exception e) { } catch (Exception e) {
log.error("Failed to migrate {}", key, e);
failedKeys.add(key); failedKeys.add(key);
} }
} }