mirror of https://gitee.com/bigwinds/arangodb
make error message unambiguous
This commit is contained in:
parent
62718e0962
commit
f5f5c773e4
|
@ -699,8 +699,7 @@ int InitialSyncer::handleCollectionDump(
|
||||||
}
|
}
|
||||||
if (response->getHttpReturnCode() == 404) {
|
if (response->getHttpReturnCode() == 404) {
|
||||||
// unknown job, we can abort
|
// unknown job, we can abort
|
||||||
errorMsg = "no response received from master at " +
|
errorMsg = "job not found on master at " + _masterInfo._endpoint;
|
||||||
_masterInfo._endpoint;
|
|
||||||
return TRI_ERROR_REPLICATION_NO_RESPONSE;
|
return TRI_ERROR_REPLICATION_NO_RESPONSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -889,8 +888,7 @@ int InitialSyncer::handleCollectionSync(
|
||||||
}
|
}
|
||||||
if (response->getHttpReturnCode() == 404) {
|
if (response->getHttpReturnCode() == 404) {
|
||||||
// unknown job, we can abort
|
// unknown job, we can abort
|
||||||
errorMsg = "no response received from master at " +
|
errorMsg = "job not found on master at " + _masterInfo._endpoint;
|
||||||
_masterInfo._endpoint;
|
|
||||||
return TRI_ERROR_REPLICATION_NO_RESPONSE;
|
return TRI_ERROR_REPLICATION_NO_RESPONSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue