diff --git a/pkg/vm/vm.go b/pkg/vm/vm.go index 2c887cb86..dc8198ed8 100644 --- a/pkg/vm/vm.go +++ b/pkg/vm/vm.go @@ -1304,7 +1304,7 @@ func (v *VM) execute(ctx *Context, op opcode.Opcode, parameter []byte) (err erro interopID := GetInteropID(parameter) err := v.SyscallHandler(v, interopID) if err != nil { - panic(fmt.Sprintf("failed to invoke syscall: %s", err)) + panic(fmt.Sprintf("failed to invoke syscall %d: %s", interopID, err)) } case opcode.RET: