Frontend: Remove error logging

This commit is contained in:
Ömer Duran
2025-09-18 14:16:35 +03:00
parent 9130712049
commit b4eb58f5e6
5 changed files with 0 additions and 5 deletions

View File

@@ -203,7 +203,6 @@ export default {
Promise.all(uniqueTargets.map((uid) => $api.post(`albums/${uid}/clone`, { albums: this.selection })))
.then(() => this.onCloned())
.catch((error) => {
console.error("Failed to clone albums to some targets:", error);
$notify.error(this.$gettext("Some albums could not be cloned"));
});
},

View File

@@ -133,7 +133,6 @@ export default {
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
.then(() => this.onAdded())
.catch((error) => {
console.error("Failed to add files to some albums:", error);
$notify.error(this.$gettext("Some albums could not be updated"));
});
},

View File

@@ -135,7 +135,6 @@ export default {
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
.then(() => this.onAdded())
.catch((error) => {
console.error("Failed to add labels to some albums:", error);
$notify.error(this.$gettext("Some albums could not be updated"));
});
},

View File

@@ -129,7 +129,6 @@ export default {
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
.then(() => this.onAdded())
.catch((error) => {
console.error("Failed to add subjects to some albums:", error);
$notify.error(this.$gettext("Some albums could not be updated"));
});
},

View File

@@ -351,7 +351,6 @@ export default {
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
.then(() => this.onAdded())
.catch((error) => {
console.error("Failed to add photos to some albums:", error);
$notify.error(this.$gettext("Some albums could not be updated"));
})
.finally(() => {