Skip to content

Commit

Permalink
Backend: cosmetic, no need for .ToString()
Browse files Browse the repository at this point in the history
If %A is used, then there's no need for calling .ToString().
  • Loading branch information
knocte committed Jan 20, 2024
1 parent 8fa47e0 commit ff7aae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GWallet.Backend/Account.fs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ open GWallet.Backend.FSharpUtil.UwpHacks
type InconsistentResultFromDifferentServersOfSameCurrency(currency: Currency,
innerException: ResultInconsistencyException) =
inherit Exception (SPrintF2 "Inconsistent results retrieving info for currency %A: %s"
(currency.ToString())
currency
innerException.Message,
innerException)

Expand Down

0 comments on commit ff7aae8

Please sign in to comment.