Corrected an error message
This commit is contained in:
Родитель
aaea40f3dc
Коммит
0070ddec65
|
@ -136,7 +136,7 @@ public final class RntbdTransportClient extends TransportClient implements AutoC
|
||||||
emitter.onSuccess(response);
|
emitter.onSuccess(response);
|
||||||
} else {
|
} else {
|
||||||
reportIssueUnless(error instanceof DocumentClientException, logger, this,
|
reportIssueUnless(error instanceof DocumentClientException, logger, this,
|
||||||
"expected {}, not ", DocumentClientException.class, error);
|
"expected {}, not {}", DocumentClientException.class, error);
|
||||||
this.metrics.incrementErrorResponseCount();
|
this.metrics.incrementErrorResponseCount();
|
||||||
emitter.onError(error);
|
emitter.onError(error);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче