Skip to content

Commit

Permalink
IJMP-1592 Fixed file path for exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsiaryna Tsytsenia committed Jun 5, 2024
1 parent 637e308 commit b84c8be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class CrossSystemMemberOrUssFileOrSequentialToUssDirMover(val dataOpsManager: Da
}.execute()

if (!response.isSuccessful) {
throw CallException(response, "Cannot upload data to ${op.destination.path}${newName}")
throw CallException(response, "Cannot upload data to $pathToFile")
} else {
setUssFileTag(op.source.charset.name(), pathToFile, destConnectionConfig)
if (op.isMove) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class LocalFileToUssDirMover(val dataOpsManager: DataOpsManager) : AbstractFileM
}.execute()

if (!response.isSuccessful) {
throwable = CallException(response, "Cannot upload data to ${destAttributes.path}${newName}")
throwable = CallException(response, "Cannot upload data to $pathToFile")
} else {
destFile.children.firstOrNull { it.name == newName }?.let { file ->
runWriteActionInEdtAndWait {
Expand Down

0 comments on commit b84c8be

Please sign in to comment.