Skip to content

Commit c069906

Browse files
committed
fix(): upload once error return
1 parent 6233b62 commit c069906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uploader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (tt *TransactionUploader) Once() (err error) {
114114
}
115115

116116
if tt.LastResponseStatus != 200 {
117-
return
117+
return errors.New(tt.LastResponseError)
118118
}
119119
}
120120

0 commit comments

Comments
 (0)