Bläddra i källkod

Merge pull request #4128 from jakesmith/hpcc-8987

HPCC-8987 - MoveExternalFile error misleading

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 år sedan
förälder
incheckning
0359e19d54
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      plugins/fileservices/fileservices.cpp

+ 1 - 1
plugins/fileservices/fileservices.cpp

@@ -2033,7 +2033,7 @@ FILESERVICES_API void  FILESERVICES_CALL fsMoveExternalFile(ICodeContext * ctx,c
     torfn.setPath(ep,topath);
     Owned<IFile> fileto = createIFile(torfn);
     if (fileto->exists())
-        throw MakeStringException(-1,"fsMoveExternalFile: Destination %s already exists",frompath);
+        throw MakeStringException(-1,"fsMoveExternalFile: Destination %s already exists", topath);
     fileto.clear();
     Owned<IFile> file = createIFile(fromrfn);
     file->move(topath);