mirror of https://gitee.com/bigwinds/arangodb
don't log nonsense errors
This commit is contained in:
parent
2740803d0b
commit
30f9dba42f
|
@ -129,7 +129,7 @@ namespace triagens {
|
|||
|
||||
TRI_set_errno(TRI_ERROR_NO_ERROR);
|
||||
if (! _connection->handleWrite(remainingTime, (void*) (_writeBuffer.c_str() + _written), _writeBuffer.length() - _written, &bytesWritten)) {
|
||||
if (errno != TRI_ERROR_NO_ERROR) {
|
||||
if (TRI_errno() != TRI_ERROR_NO_ERROR) {
|
||||
setErrorMessage(TRI_last_error(), false);
|
||||
}
|
||||
this->close();
|
||||
|
@ -177,7 +177,7 @@ namespace triagens {
|
|||
break;
|
||||
}
|
||||
|
||||
if (errno != TRI_ERROR_NO_ERROR) {
|
||||
if (TRI_errno() != TRI_ERROR_NO_ERROR) {
|
||||
setErrorMessage(TRI_last_error(), false);
|
||||
}
|
||||
this->close();
|
||||
|
|
Loading…
Reference in New Issue