Skip to content

Commit 4a3fd2f

Browse files
committed
puzzles: Fix error message
1 parent 461418e commit 4a3fd2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

puzzles/solver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func Run(solver Solver, filepath string) (Result, error) {
123123

124124
res.Part2, err = solver.Part2(bytes.NewBuffer(input))
125125
if err != nil && errors.Cause(err) != ErrNotImplemented {
126-
return Result{}, errors.Wrap(err, "failed to solve Part1")
126+
return Result{}, errors.Wrap(err, "failed to solve Part2")
127127
}
128128

129129
return res, nil

0 commit comments

Comments
 (0)