diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CloneCollection/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CloneCollection/index.js index 0b073fa774..1dccf6adb5 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CloneCollection/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CloneCollection/index.js @@ -44,7 +44,7 @@ const CloneCollection = ({ onClose, collection }) => { toast.success('Collection created'); onClose(); }) - .catch(() => toast.error('An error occurred while creating the collection')); + .catch((e) => toast.error('An error occurred while creating the collection - ' + e)); } }); diff --git a/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js b/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js index ea5a173975..996c314dfe 100644 --- a/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js +++ b/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js @@ -37,7 +37,7 @@ const CreateCollection = ({ onClose }) => { toast.success('Collection created'); onClose(); }) - .catch(() => toast.error('An error occurred while creating the collection')); + .catch((e) => toast.error('An error occurred while creating the collection - ' + e)); } });