From b715734d71cc27b552be3b31d6aff0ff7d82359b Mon Sep 17 00:00:00 2001 From: Markus Noga Date: Sun, 15 Oct 2023 23:51:29 +0200 Subject: [PATCH] format fix --- internal/ops/ref/refframe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ops/ref/refframe.go b/internal/ops/ref/refframe.go index 7b508da..2c714db 100644 --- a/internal/ops/ref/refframe.go +++ b/internal/ops/ref/refframe.go @@ -165,7 +165,7 @@ func (op *OpSelectReference) applySingle(i int, ins []ops.Promise, c *ops.Contex } refFrame=op.materialized[fileID] } else { - c.RefFrameError=errors.New(fmt.Sprintf("Unknown refrence selection mode %d", op.Mode)) + c.RefFrameError=errors.New(fmt.Sprintf("Unknown refrence selection mode '%s'", op.Mode)) } if refFrame==nil { c.RefFrameError=errors.New("Unable to select reference image.") } if c.RefFrameError!=nil { return nil, c.RefFrameError }