diff --git a/pkg/vm/emit/emit.go b/pkg/vm/emit/emit.go index 00f7c1b44..55949f8cb 100644 --- a/pkg/vm/emit/emit.go +++ b/pkg/vm/emit/emit.go @@ -94,7 +94,7 @@ func Array(w *io.BinWriter, es ...interface{}) { Bool(w, e) default: if es[i] != nil { - w.Err = errors.New("unsupported type") + w.Err = fmt.Errorf("unsupported type: %v", e) return } Opcodes(w, opcode.PUSHNULL)