[ARVADOS-WORKBENCH2] updated: 1.2.0-343-g4152767
Git user
git at public.curoverse.com
Mon Sep 10 06:22:48 EDT 2018
Summary of changes:
src/store/processes/process-copy-actions.ts | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
via 41527672e32f918ec8993cb29bb4062de8433698 (commit)
from dd99e8f75ffc29170c7ec5f264773014ebc1c7d3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 41527672e32f918ec8993cb29bb4062de8433698
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Mon Sep 10 12:22:31 2018 +0200
cr change
Feature #14097
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/store/processes/process-copy-actions.ts b/src/store/processes/process-copy-actions.ts
index 58132e9..bb8d8f5 100644
--- a/src/store/processes/process-copy-actions.ts
+++ b/src/store/processes/process-copy-actions.ts
@@ -11,7 +11,6 @@ import { ServiceRepository } from '~/services/services';
import { CopyFormDialogData } from '~/store/copy-dialog/copy-dialog';
import { getProcess, ProcessStatus, getProcessStatus } from '~/store/processes/process';
import { snackbarActions } from '~/store/snackbar/snackbar-actions';
-import { getCommonResourceServiceError, CommonResourceServiceError } from '~/services/common-service/common-resource-service';
export const PROCESS_COPY_FORM_NAME = 'processCopyFormName';
@@ -44,11 +43,7 @@ export const copyProcess = (resource: CopyFormDialogData) =>
dispatch(dialogActions.CLOSE_DIALOG({ id: PROCESS_COPY_FORM_NAME }));
return process;
} catch (e) {
- const error = getCommonResourceServiceError(e);
- if (error === CommonResourceServiceError.UNKNOWN) {
- dispatch(dialogActions.CLOSE_DIALOG({ id: PROCESS_COPY_FORM_NAME }));
- throw new Error('Could not copy the process.');
- }
- return;
+ dispatch(dialogActions.CLOSE_DIALOG({ id: PROCESS_COPY_FORM_NAME }));
+ throw new Error('Could not copy the process.');
}
};
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list