diff --git a/dashboard/src/models/DirectoryModel.js b/dashboard/src/models/DirectoryModel.js index 9e2469600..602cae4a3 100644 --- a/dashboard/src/models/DirectoryModel.js +++ b/dashboard/src/models/DirectoryModel.js @@ -187,7 +187,7 @@ export function createDirectoryModel(origin, accessToken, api) { if (action === 'copy') result = await this.copy(this.buildFilePath(files[f].folderPath, files[f].name), targetPath); if (result.status === 404) { - throw `Source file ${files[f].name} not found`; + throw `Source file "${files[f].name}" not found`; } else if (result.status === 409) { targetPath += '-copy'; continue;