Skip to content

Commit

Permalink
Fix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Got17 committed Oct 18, 2024
1 parent c1ab238 commit 9b9e864
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions FingerAuth/Client.fs
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,13 @@ module Logic =
AllowDeviceCredential = true
)) |> ignore

loadCredentials()|>ignore



loadCredentials()|>ignore

with ex ->
with
| ex->
let error = ex |> As<BiometricAuth.BiometryError>
printfn($"Authentication failed: {error}")
showAlert("Alert", $"{error}") |> ignore
printfn($"Authentication failed: {error.Message}")
showAlert("Alert", $"{error.Message}") |> ignore
}


Expand Down

0 comments on commit 9b9e864

Please sign in to comment.