diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-23 14:08:58 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-23 14:08:58 +0200 |
| commit | 5839eedd22e28a281f3faa90433f0452ca31b385 (patch) | |
| tree | 71e4ed1fd7a5bcf1da1813891197aeaaed359be2 /internal/types | |
| parent | d41af72a9673728cfe9390e31cb4e67da31fc355 (diff) | |
Formatting: Run golines
Diffstat (limited to 'internal/types')
| -rw-r--r-- | internal/types/error.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/types/error.go b/internal/types/error.go index 4a882e2..c7ee67f 100644 --- a/internal/types/error.go +++ b/internal/types/error.go @@ -105,7 +105,9 @@ func GetErrorJSONString(err error) string { traceback = err.Error() } - json, jsonErr := json.Marshal(&WrappedErrorMessageJSON{Level: level, Cause: cause.Error(), Traceback: traceback}) + json, jsonErr := json.Marshal( + &WrappedErrorMessageJSON{Level: level, Cause: cause.Error(), Traceback: traceback}, + ) if jsonErr != nil { panic(jsonErr) |
