Skip to content

Commit 5464bf1

Browse files
committed
Changed from error to errorcontext
Signed-off-by: nyagamunene <stevenyaga2014@gmail.com>
1 parent 7dedfc2 commit 5464bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coap/api/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func handleGet(ctx context.Context, m *mux.Message, c mux.Client, msg *messaging
120120
var obs uint32
121121
obs, err := m.Options.Observe()
122122
if err != nil {
123-
logger.ErrorContext(ctx,fmt.Sprintf("Error reading observe option: %s", err))
123+
logger.ErrorContext(ctx, fmt.Sprintf("Error reading observe option: %s", err))
124124
return errBadOptions
125125
}
126126
if obs == startObserve {

0 commit comments

Comments
 (0)