Skip to content

Commit 28b7b68

Browse files
committed
Better error messages
1 parent f564351 commit 28b7b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/bundler/upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (up *Uploader) Upload(ctx context.Context, result map[string]string) error
6666
return err
6767
}
6868
if resp.StatusCode >= 400 {
69-
return fmt.Errorf("code=%d", resp.StatusCode)
69+
return fmt.Errorf("upload endpiont returned non-200 status code: %d", resp.StatusCode)
7070
}
7171
return nil
7272
}

0 commit comments

Comments
 (0)