From 4d15c1bc7eb00907a6e81f84258b48b13e107ea2 Mon Sep 17 00:00:00 2001 From: hschoi1104 Date: Sun, 18 Apr 2021 17:44:42 +0900 Subject: [PATCH] =?UTF-8?q?[#179]=20fix=20-=20=EC=98=A4=ED=83=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app.js b/backend/src/app.js index ab64a45..ed8634b 100644 --- a/backend/src/app.js +++ b/backend/src/app.js @@ -50,7 +50,7 @@ app.use((req, res, next) => { // Error handler app.use((err, req, res, next) => { - apm.captureError(error); + apm.captureError(err); // eslint-disable-line no-unused-vars return res.status(err.statusCode || 500).json({ statusCode: err.statusCode,