Skip to content

Commit 213cb6c

Browse files
committed
remove hardcoded throw from health endpoint
1 parent dea2bca commit 213cb6c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app.js

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ app.get('/version', (req, res) => {
99
})
1010

1111
app.get('/health', (req, res) => {
12-
// eslint-disable-next-line no-constant-condition
13-
if (true) throw('error... ')
1412
res.send('ok')
1513
})
1614

0 commit comments

Comments
 (0)