We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4de5d2d commit 52dbecfCopy full SHA for 52dbecf
1 file changed
src/app.js
@@ -27,13 +27,7 @@ const wol = require("./wol")
27
28
app.use("/", auth)
29
30
-app.get("/data", async (req, res, next) => {
31
- try {
32
- await wol(req, res)
33
- } catch (err) {
34
- next(err)
35
- }
36
-})
+app.get("/data", async (req, res) => wol(req, res))
37
38
app.use((err, req, res, next) => {
39
log.logger.error(err.message)
0 commit comments