From dfa1533b72980ed7ad8a9e050cb2671ade9f7b3a Mon Sep 17 00:00:00 2001 From: shubh-bruno Date: Fri, 20 Feb 2026 12:13:54 +0530 Subject: [PATCH] fix: updated error message for renaming requests (#7010) Co-authored-by: shubh-bruno --- .../src/providers/ReduxStore/slices/collections/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js b/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js index 8da7837e8..27508f61b 100644 --- a/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js +++ b/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js @@ -830,7 +830,7 @@ export const renameItem .invoke('renderer:rename-item-filename', { oldPath: item.pathname, newPath, newName, newFilename, collectionPathname: collection.pathname }) .catch((err) => { console.error(err); - throw new Error('Failed to rename the file'); + throw new Error('Duplicate request names are not allowed under the same folder'); }); };