Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jakopako committed May 19, 2024
1 parent 480b3f2 commit 7a85a6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fetch/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ func (d *DynamicFetcher) Fetch(urlStr string, opts FetchOpts) (string, error) {
filename := fmt.Sprintf("%s.png", r)
actions = append(actions, chromedp.CaptureScreenshot(&buf))
actions = append(actions, chromedp.ActionFunc(func(ctx context.Context) error {
// log.Printf("Write %v", fileName)
logger.Debug(fmt.Sprintf("writing screenshot to file %s", filename))
return os.WriteFile(filename, buf, 0644)
}))
Expand Down

0 comments on commit 7a85a6e

Please sign in to comment.