1
0
Fork 0

make error message unambiguous

This commit is contained in:
jsteemann 2016-09-05 13:55:04 +02:00
parent 62718e0962
commit f5f5c773e4
1 changed files with 2 additions and 4 deletions

View File

@ -699,8 +699,7 @@ int InitialSyncer::handleCollectionDump(
}
if (response->getHttpReturnCode() == 404) {
// unknown job, we can abort
errorMsg = "no response received from master at " +
_masterInfo._endpoint;
errorMsg = "job not found on master at " + _masterInfo._endpoint;
return TRI_ERROR_REPLICATION_NO_RESPONSE;
}
}
@ -889,8 +888,7 @@ int InitialSyncer::handleCollectionSync(
}
if (response->getHttpReturnCode() == 404) {
// unknown job, we can abort
errorMsg = "no response received from master at " +
_masterInfo._endpoint;
errorMsg = "job not found on master at " + _masterInfo._endpoint;
return TRI_ERROR_REPLICATION_NO_RESPONSE;
}
}