Skip to content

Commit

Permalink
return if error getting filename
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed Jan 17, 2024
1 parent c453e12 commit 5252655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/screenshot/screenshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func screenshot(url string, c *config.Config) {
filename, err := getFilename(url, c.OutputDir)
if err != nil {
logger.Warning("getFilename returned error: %v", err)
return
}

browser := rod.New().
Expand Down

0 comments on commit 5252655

Please sign in to comment.