Skip to content

Commit

Permalink
Updates log message with span name for better readability (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
atreat committed May 8, 2024
1 parent 5358472 commit 8c9a258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/EmbraceStorage/Records/EmbraceStorage+Span.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extension EmbraceStorage {
do {
try self?.upsertSpan(db: db, span: span)
} catch let e as DatabaseError {
ConsoleLog.error("Failed upsertSpan: \(e.message ?? "[empty message]")")
ConsoleLog.error("Failed upsertSpan `\(span.name)`: \(e.message ?? "[empty message]")")
}
}
}
Expand Down

0 comments on commit 8c9a258

Please sign in to comment.