Skip to content

Commit

Permalink
Show statuscode too
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jul 9, 2024
1 parent ed5d7ca commit 88c40e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/scraper/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (i *InstaData) ScrapeData() error {
}
}
}
log.Error().Str("postID", i.PostID).Err(err).Msg("Failed to scrape data from remote scraper")
log.Error().Str("postID", i.PostID).Int("status", res.StatusCode()).Err(err).Msg("Failed to scrape data from remote scraper")
}

req.Reset()
Expand Down

0 comments on commit 88c40e1

Please sign in to comment.