15768: cleanup Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
[arvados-workbench2.git] / src / store / collections / collection-copy-actions.ts
index 1323ebc3e5d0558aefa0b1c03e7b3df0282d35b3..f2f5569a4bec648d35412a696cae6b14d8bb4402 100644 (file)
@@ -65,7 +65,6 @@ export const copyCollection =
                         ownerUuid: "A collection with the same name already exists in the target project.",
                     } as FormErrors)
                 );
-                throw new Error("Could not copy the collection.");
             } else {
                 dispatch(dialogActions.CLOSE_DIALOG({ id: formName }));
                 throw new Error("Could not copy the collection.");