summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index fe630c9..1354ffc 100644
--- a/state.go
+++ b/state.go
@@ -714,6 +714,6 @@ func GetErrorTraceback(err error) string {
return types.GetErrorTraceback(err)
}
-func GetErrorJSONString(err error) string {
+func GetErrorJSONString(err error) (string, error) {
return types.GetErrorJSONString(err)
}