Skip to content

Commit

Permalink
fixed vararg error
Browse files Browse the repository at this point in the history
  • Loading branch information
smtakeda committed Jan 25, 2018
1 parent b949413 commit 817d5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type SnowflakeError struct {
func (se *SnowflakeError) Error() string {
message := se.Message
if len(se.MessageArgs) > 0 {
message = fmt.Sprintf(se.Message, se.MessageArgs)
message = fmt.Sprintf(se.Message, se.MessageArgs...)
}
if se.SQLState != "" {
if se.IncludeQueryID {
Expand Down

0 comments on commit 817d5a0

Please sign in to comment.