Skip to content

Commit 528b5c5

Browse files
authored
Fix log message in grpc (#73)
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 95fd5a4 commit 528b5c5

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/grpc-1.5/src/main/java/io/opentelemetry/instrumentation/hypertrace/grpc/v1_5

1 file changed

+1
-1
lines changed

instrumentation/grpc-1.5/src/main/java/io/opentelemetry/instrumentation/hypertrace/grpc/v1_5/GrpcSpanDecorator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static void addMessageAttribute(Object message, Span span, AttributeKey<S
4343
String requestBody = PRINTER.print(mb);
4444
span.setAttribute(key, requestBody);
4545
} catch (InvalidProtocolBufferException e) {
46-
log.error("Failed to parse request message to JSON", e);
46+
log.error("Failed to decode message to JSON", e);
4747
}
4848
}
4949
}

0 commit comments

Comments
 (0)