diff --git a/studio/localStores/storageExplorer/StorageExplorerStore.js b/studio/localStores/storageExplorer/StorageExplorerStore.js index 7199b3a3719..fb1bb7d479a 100644 --- a/studio/localStores/storageExplorer/StorageExplorerStore.js +++ b/studio/localStores/storageExplorer/StorageExplorerStore.js @@ -1126,11 +1126,13 @@ class StorageExplorerStore { .concat(pathSegments.slice(columnIndex + 1)) .join('/') return () => { - return new Promise(async (resolve, reject) => { + return new Promise(async (resolve) => { const { error } = await this.supabaseClient.storage .from(this.selectedBucket.name) .move(fromPath, toPath) - if (error) reject() + if (error) { + toast.error(`Failed to move ${fromPath} to the new folder`) + } resolve() }) }