Skip to content

Commit

Permalink
fixup! Refactor to work with the filePersister
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Jan 31, 2024
1 parent 39d2db9 commit 70cd67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/screenshotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (s *screenshotter) screenshot(
// Save screenshot capture to file
if path != "" {
if err := s.persister.Persist(path, bytes.NewBuffer(buf)); err != nil {
return nil, fmt.Errorf("saving screenshot: %w", err)
return nil, fmt.Errorf("persisting screenshot: %w", err)
}
}

Expand Down

0 comments on commit 70cd67a

Please sign in to comment.