You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to log an exception using (error! ex) fails in setBody
value must not be null
java.util.Objects/requireNonNull at Objects.java:259
io.opentelemetry.api.incubator.logs.AnyValueString/create at AnyValueString.java:19
io.opentelemetry.api.incubator.logs.AnyValue/of at AnyValue.java:37
io.opentelemetry.sdk.logs.SdkLogRecordBuilder/setBody at SdkLogRecordBuilder.java:91
io.opentelemetry.sdk.logs.SdkLogRecordBuilder/setBody at SdkLogRecordBuilder.java:24
taoensso.telemere.open_telemetry$handler_COLON_open_telemetry_logger$a_handler_COLON_open_telemetry_logger__14233/invoke at NO_SOURCE_FILE:228
taoensso.encore.signals$wrap_handler$handle_signal_BANG___12229$fn__12230/invoke at signals.cljc:730
taoensso.encore.signals$wrap_handler$handle_signal_BANG___12229/invoke at signals.cljc:699
This can be avoided when .setBody is not called. But perhaps a default body should be constructed from exception.type and exception.message, as e.g. Loki will just display an empty line else.
The text was updated successfully, but these errors were encountered:
Trying to log an exception using
(error! ex)
fails insetBody
This can be avoided when
.setBody
is not called. But perhaps a default body should be constructed fromexception.type
andexception.message
, as e.g. Loki will just display an empty line else.The text was updated successfully, but these errors were encountered: