X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/b5f5db0e8b85930e2240824cd2fd24e88ceb92c6..3af60f74e1bb43c779d660bda187d780b677188e:/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts diff --git a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts index 704e2999..19f5a7ee 100644 --- a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts +++ b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts @@ -146,7 +146,7 @@ export const renameFile = (newName: string) => dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'File name changed.', hideDuration: 2000 })); } catch (e) { const errors: FormErrors = { - name: 'Could not rename the file' + name: `Could not rename the file: ${e.responseText}` }; dispatch(stopSubmit(RENAME_FILE_DIALOG, errors)); }