aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/sqlvm/runtime/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/sqlvm/runtime/runtime.go')
-rw-r--r--core/vm/sqlvm/runtime/runtime.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/vm/sqlvm/runtime/runtime.go b/core/vm/sqlvm/runtime/runtime.go
index 3b6d49a72..401b203db 100644
--- a/core/vm/sqlvm/runtime/runtime.go
+++ b/core/vm/sqlvm/runtime/runtime.go
@@ -19,6 +19,7 @@ func Run(stateDB vm.StateDB, ins []Instruction, registers []*Operand) (ret []byt
err = se.Error{
Position: in.Position,
Code: errCode.(se.ErrorCode),
+ Severity: se.ErrorSeverityError,
Category: se.ErrorCategoryRuntime,
}
return nil, err