From 4c6858020a968942b152dbeddd8cd22ff2dc683b Mon Sep 17 00:00:00 2001 From: Massimo Siani Date: Sun, 12 Mar 2023 11:28:33 +0100 Subject: [PATCH] compile --- modules/honeycomb/src/main/scala/HoneycombSpan.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/honeycomb/src/main/scala/HoneycombSpan.scala b/modules/honeycomb/src/main/scala/HoneycombSpan.scala index 28ccfaee..7c0a8fe7 100644 --- a/modules/honeycomb/src/main/scala/HoneycombSpan.scala +++ b/modules/honeycomb/src/main/scala/HoneycombSpan.scala @@ -72,8 +72,8 @@ private[honeycomb] final case class HoneycombSpan[F[_]: Sync]( override def attachError(err: Throwable, fields: (String, TraceValue)*): F[Unit] = put( - Tags.error(true), - "exit.case" -> TraceValue.StringValue("error") :: + Tags.error(true) :: + "exit.case" -> TraceValue.StringValue("error") :: "exit.error.class" -> TraceValue.StringValue(err.getClass.getName) :: "exit.error.message" -> TraceValue.StringValue(err.getMessage) :: fields.toList: _*