fix error message

This commit is contained in:
Joel Wetzell
2026-03-08 13:36:06 -05:00
parent 8c4f0591e1
commit 361b07ec00
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ func (sw *ScriptWASM) Process(ctx context.Context, payload any) (any, error) {
payloadBytes, ok := GetAnyAs[[]byte](payload)
if !ok {
return nil, fmt.Errorf("script.wasm can only operator on byte array")
return nil, fmt.Errorf("script.wasm can only process a byte array")
}
program, err := sw.Program.Instance(ctx, extism.PluginInstanceConfig{})