Skip to content

Commit

Permalink
A bit of critical error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
0x19 committed Aug 27, 2023
1 parent 34a069a commit c05f8fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion releases/releases.json
Git LFS file not shown
5 changes: 5 additions & 0 deletions syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ func (s *Solc) SyncReleases() ([]Version, error) {

var versions []Version
if err := json.Unmarshal(bodyBytes, &versions); err != nil {
zap.L().Error(
"Failed to unmarshal releases response",
zap.Error(err),
zap.Any("response", string(bodyBytes)),
)
return nil, err
}

Expand Down

0 comments on commit c05f8fe

Please sign in to comment.