Skip to content

Commit

Permalink
[AB#1669514] revert atoierr
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosMasterOfAllTime committed Nov 21, 2024
1 parent c5433ce commit f952516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bind_uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ func (bu *bindUploader) createStageIfNeeded() error {
return err
}
if !data.Success {
code, atoiErr := strconv.Atoi(data.Code)
if atoiErr != nil {
return atoiErr
code, err := strconv.Atoi(data.Code)
if err != nil {
return err
}
return (&SnowflakeError{
Number: code,
Expand Down

0 comments on commit f952516

Please sign in to comment.