diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-12 08:55:30 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-12 08:55:30 +0200 |
| commit | 2d152ba32d048e1e97438d99dd24ed5a32a6b961 (patch) | |
| tree | fb0aedfde1cf57de7a9e2b36622f62657040faf1 /state.go | |
| parent | 4a25897ab3e048b8b59c25d50f7f314d21847f2e (diff) | |
Types Error: Do not panic on JSON error
Diffstat (limited to 'state.go')
| -rw-r--r-- | state.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |
