diff --git a/client/go/outline/electron/go_plugin.go b/client/go/outline/electron/go_plugin.go index 61b0a5a0d5..9fcff7d12e 100644 --- a/client/go/outline/electron/go_plugin.go +++ b/client/go/outline/electron/go_plugin.go @@ -71,7 +71,7 @@ func InvokeGoAPI(api *C.char, input *C.char) C.InvokeGoAPIResult { default: err := &platerrors.PlatformError{ - Code: platerrors.IllegalConfig, + Code: platerrors.InternalError, Message: fmt.Sprintf("unsupported Go API: %s", apiName), } return C.InvokeGoAPIResult{ErrorJson: marshalCGoErrorJson(err)}