From b1ae381bda027a350cdd92382eca707e065235f0 Mon Sep 17 00:00:00 2001 From: Junyi Yi Date: Mon, 18 Nov 2024 19:38:41 -0500 Subject: [PATCH] InternalError instead of IllegalConfig --- client/go/outline/electron/go_plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}