a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[backend/core] Verify object storage credentials & access URL before starting the object storage migration task

+11
+11
Iceshrimp.Backend/Core/Services/StorageMaintenanceService.cs
··· 21 21 { 22 22 public async Task MigrateLocalFilesAsync(bool purge) 23 23 { 24 + try 25 + { 26 + await objectStorageSvc.VerifyCredentialsAsync(); 27 + } 28 + catch (Exception e) 29 + { 30 + logger.LogCritical("Failed to initialize object storage: {message}", e.Message); 31 + Environment.Exit(1); 32 + return; 33 + } 34 + 24 35 var pathBase = options.Value.Local?.Path; 25 36 var pathsToDelete = new ConcurrentBag<string>(); 26 37 var failed = new ConcurrentBag<string>();