Skip to content

Commit

Permalink
[release] v1.24.0 - Improved errors (#192)
Browse files Browse the repository at this point in the history
Bug fixes:
- Errors for failed event logging not being sent to stderr or log
callback

Improvements:
- Introduced custom errors with matching: `ErrFailedLogEvent`
- Error messages in stderr now contain timestamps
- Network error messages include status code, # of retries, and endpoint
- Errors now sent to stderr instead of stdout





>Included In This Release
>- 42df398 kenny-statsig
>   - Nil-safe response status code check (#190)
>- 3c9f008 kenny-statsig
>   - improve error formatting (#188)
>- f53d35e kenny-statsig
>   - fix log event output error (#187)
  • Loading branch information
kenny-statsig authored Jun 17, 2024
1 parent 42df398 commit d64278c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsig_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type statsigMetadata struct {
func getStatsigMetadata() statsigMetadata {
return statsigMetadata{
SDKType: "go-sdk",
SDKVersion: "1.23.0",
SDKVersion: "v1.24.0",
LanguageVersion: runtime.Version()[2:],
SessionID: SessionID(),
}
Expand Down

0 comments on commit d64278c

Please sign in to comment.