Skip to content

Commit

Permalink
example/crypto add auth-mode in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dhia-gharsallaoui committed Apr 16, 2024
1 parent 504cad3 commit 92c42ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func validateEndpointConfig(endpoints []*ua.EndpointDescription, secPolicy strin
}
}

err := errors.Errorf("server does not support an endpoint with security : %s , %s", secPolicy, secMode)
err := errors.Errorf("server does not support an endpoint with security : %s , %s, %s", secPolicy, secMode, authMode)
printEndpointOptions(endpoints)
return err
}
Expand Down

0 comments on commit 92c42ac

Please sign in to comment.