mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 12:45:38 +00:00
fix: updated error message for renaming requests (#7010)
Co-authored-by: shubh-bruno <shubh-bruno@shubh-bruno.local>
This commit is contained in:
@@ -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');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user