chore: removed IO functor

This commit is contained in:
Roberto Tonino
2021-05-11 20:31:21 +02:00
parent 9fc36abf06
commit a6fe1bff19
3 changed files with 3 additions and 45 deletions

View File

@@ -33,7 +33,7 @@ const handler: RequestHandler<{}, {}, {}, RawChartTracksQuery> = async (req, res
next()
} catch (error) {
if (isBadRequestError(error)) {
consoleError(error.message).unsafePerformIO()
consoleError(error.message)
res.status(400).send()
return next()
}