summaryrefslogtreecommitdiff
path: root/internal/types
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-23 14:08:58 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-23 14:08:58 +0200
commit5839eedd22e28a281f3faa90433f0452ca31b385 (patch)
tree71e4ed1fd7a5bcf1da1813891197aeaaed359be2 /internal/types
parentd41af72a9673728cfe9390e31cb4e67da31fc355 (diff)
Formatting: Run golines
Diffstat (limited to 'internal/types')
-rw-r--r--internal/types/error.go4
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)