Skip to content

Commit fb90af5

Browse files
authored
Format string must be constant. (#336)
Fixes nogo error.
1 parent 249dd41 commit fb90af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/background/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (a *background) onConnectionDisconnect(_ jsutil.AsyncContext, _ js.Value, a
120120
ap := a.ports.Lookup(port)
121121
if ap == nil {
122122
err := errors.New("onConnectionDisconnect: connection for port not found")
123-
jsutil.LogError(err.Error())
123+
jsutil.LogError("%v", err.Error())
124124
return js.Undefined(), err
125125
}
126126

0 commit comments

Comments
 (0)