Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
fix(upload): log Cloud cancel failures that arrive after the deadline
Timothy Yin71d5acd5381f
diff --git a/apps/cloud/app/composables/useCloudUploads.ts b/apps/cloud/app/composables/useCloudUploads.tsindex 77f1c86a..ddbf211c 100644--- a/apps/cloud/app/composables/useCloudUploads.ts+++ b/apps/cloud/app/composables/useCloudUploads.ts@@ -354,13 +354,13 @@ function createCloudUploads() {let deadline: ReturnType<typeof setTimeout> | undefinedtry {await Promise.race([- cancelSession(),+ cancelSession().catch((cancelError) => {+ console.error('Failed to cancel Cloud upload:', cancelError)+ }),new Promise<void>((resolve) => {deadline = setTimeout(resolve, 10000)}),])- } catch (cancelError) {- console.error('Failed to cancel Cloud upload:', cancelError)} finally {clearTimeout(deadline)}