Skip to content

Commit

Permalink
fix(login) Improve error representation in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre PÉRONNET <[email protected]>
  • Loading branch information
holyhope committed Apr 16, 2024
1 parent 7af85b5 commit 566e7dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions login/chrome/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ func (e *WithScreenshotError) Unwrap() error {
return e.Err
}

func (e *WithScreenshotError) GomegaString() string {
return e.Err.Error()
}

// WithLoggers sets the loggers to be used for the login process.
func WithLoggers(infoLgr, errorLgr *log.Logger) login.Option { //nolint:ireturn
return &withLoggers{
Expand Down

0 comments on commit 566e7dc

Please sign in to comment.