Skip to content

Commit

Permalink
fix: Include URL when constructing nodeinfo error string
Browse files Browse the repository at this point in the history
Previous code crashed because of a missing format argument.
  • Loading branch information
nikclayton authored Dec 8, 2024
1 parent 29de2c4 commit 8e34c06
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ class ServerRepository @Inject constructor(

data class GetNodeInfo(val url: String, override val cause: PachliError) : Error(
R.string.server_repository_error_get_node_info,
arrayOf(url),
)

data class ValidateNodeInfo(val url: String, val error: UnvalidatedNodeInfo.Error) : Error(
Expand Down

0 comments on commit 8e34c06

Please sign in to comment.