Skip to content

Commit 1ab0111

Browse files
author
Lionel Dcosta
committed
Fixed error handling for slonik
1 parent 66007bb commit 1ab0111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/status/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class StatusModel {
1212
}
1313
return result.rows[0].status;
1414
} catch (e) {
15-
return e;
15+
throw e;
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)