Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ken109 committed Jun 25, 2021
1 parent 64e5893 commit c55370c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func SetUp(option Option) error {
return errors.New("not set signing algorithm")
}
if _, ok := options[option.Realm]; ok {
return errors.New("realm is already exists")
return fmt.Errorf("realm is already exists: %s", option.Realm)
}
options[option.Realm] = option
return nil
Expand Down

0 comments on commit c55370c

Please sign in to comment.