Skip to content

Commit

Permalink
Unwrap raw numerical value for exception message (#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Nov 7, 2024
1 parent 2c2828d commit e3e6281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public class HostProtocolAdapter<W : Any>(
// Reuse the node.
val old = nodes.put(widgetId.value, pooled)
require(old == null) {
"Insert attempted to replace existing widget with ID $widgetId"
"Insert attempted to replace existing widget with ID ${widgetId.value}"
}

val skippedCreate = changesAndNulls[changeIndexForCreate] as Create
Expand Down

0 comments on commit e3e6281

Please sign in to comment.