Undid an experiment with RntbdReporter.doReportIssue because the error messages produced are less readable
This commit is contained in:
Родитель
80fa55cf85
Коммит
1a3c63ad5d
|
@ -73,12 +73,12 @@ public final class RntbdReporter {
|
|||
|
||||
if (throwable == null) {
|
||||
logger.error("Report this {} issue to ensure it is addressed:\n[{}]\n[{}]\n[{}]",
|
||||
codeSource, subject, stackTrace, formattingTuple.getMessage()
|
||||
codeSource, subject, stackTrace[2], formattingTuple.getMessage()
|
||||
);
|
||||
} else {
|
||||
logger.error("Report this {} issue to ensure it is addressed:\n[{}]\n[{}]\n[{}{}{}]",
|
||||
codeSource, subject, stackTrace, formattingTuple.getMessage(),
|
||||
throwable, ExceptionUtils.getStackTrace(throwable)
|
||||
logger.error("Report this {} issue to ensure it is addressed:\n[{}]\n[{}]\n[{}{}]",
|
||||
codeSource, subject, stackTrace[2], formattingTuple.getMessage(),
|
||||
ExceptionUtils.getStackTrace(throwable)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@ import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdConte
|
|||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdContextNegotiator;
|
||||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdContextRequest;
|
||||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdEndpoint;
|
||||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdReporter;
|
||||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdRequest;
|
||||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdRequestArgs;
|
||||
import com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdRequestEncoder;
|
||||
|
@ -723,7 +724,6 @@ public final class RntbdTransportClientTest {
|
|||
try (final RntbdTransportClient client = getRntbdTransportClientUnderTest(userAgent, timeout, response)) {
|
||||
|
||||
final Single<StoreResponse> responseSingle;
|
||||
client.toString();
|
||||
|
||||
try {
|
||||
responseSingle = client.invokeStoreAsync(physicalAddress, null, request);
|
||||
|
|
Загрузка…
Ссылка в новой задаче