diff --git a/common/screenshotter.go b/common/screenshotter.go index 4f65a33d5..4bb9dd8d1 100644 --- a/common/screenshotter.go +++ b/common/screenshotter.go @@ -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) } }