aboutsummaryrefslogtreecommitdiff
path: root/src/utils/error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/error.ts')
-rw-r--r--src/utils/error.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/error.ts b/src/utils/error.ts
index 681db91..297edd9 100644
--- a/src/utils/error.ts
+++ b/src/utils/error.ts
@@ -6,7 +6,8 @@ function getErrorMessageIfThrows(cb: () => unknown) {
try {
cb();
return undefined;
- } catch (err) {
+ }
+ catch (err) {
if (_.isString(err)) {
return err;
}