Skip to content

Commit

Permalink
InternalError instead of IllegalConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 committed Nov 19, 2024
1 parent 2a38297 commit b1ae381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/go/outline/electron/go_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit b1ae381

Please sign in to comment.