{"id":899,"date":"2026-05-20T09:54:01","date_gmt":"2026-05-20T01:54:01","guid":{"rendered":"https:\/\/junai.ai\/blog\/nodejs-error-handling-16\/"},"modified":"2026-05-20T09:54:01","modified_gmt":"2026-05-20T01:54:01","slug":"nodejs-error-handling-16","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/nodejs-error-handling-16\/","title":{"rendered":"\uc5d0\ub7ec \ucc98\ub9ac \u2014 try\/catch\uc640 Express \uc5d0\ub7ec"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 845 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n:root {--color-primary:#059669;--color-accent:#10b981;--color-bg:#fafbfc;--color-bg-card:#fff;--color-text:#1a202c;--color-text-muted:#64748b;--hero-start:#064e3b;--hero-end:#059669;}\n*{box-sizing:border-box;}\n.container{max-width:760px;margin:0 auto;padding:0 24px 80px;}\n.hero{background:linear-gradient(135deg,var(--hero-start) 0%,var(--hero-end) 100%);color:#fff;padding:80px 24px 60px;text-align:center;}\n.hero .eyebrow{display:inline-block;font-size:14px;color:#6ee7b7;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:14px;}\n.hero h1{font-size:36px;margin:0 0 16px;line-height:1.3;font-weight:800;}\n.hero p{color:#d1fae5;font-size:18px;max-width:640px;margin:0 auto;line-height:1.6;}\n.hero img{width:100%;max-width:640px;height:auto;margin:32px auto 0;border-radius:10px;display:block;}\narticle{padding-top:48px;}\narticle h2{font-size:26px;margin:56px 0 20px;padding-left:14px;border-left:5px solid var(--color-accent);line-height:1.4;}\narticle h3{font-size:19px;margin:32px 0 12px;color:var(--color-primary);}\narticle p{margin:16px 0;}\narticle strong{color:var(--color-primary);font-weight:700;}\narticle code{background:#d1fae5;padding:2px 8px;border-radius:4px;font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;color:#065f46;}\n.databox{background:#d1fae5;border-left:4px solid var(--color-accent);padding:16px 20px;margin:24px 0;border-radius:0 8px 8px 0;font-size:15.5px;}\n.databox strong{color:var(--color-primary);}\n.warnbox{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);padding:16px 20px;margin:24px 0;border-radius:8px;font-size:15.5px;}\n.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:22px 0;}\ntable{width:100%;border-collapse:collapse;font-size:15px;background:var(--color-bg-card);}\nth,td{padding:11px 12px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top;}\nth{background:#f1f5f9;font-weight:700;color:#0f172a;}\ntd:first-child,th:first-child{font-weight:700;}\n@media (max-width:560px){.tablewrap table,.tablewrap thead,.tablewrap tbody,.tablewrap tr,.tablewrap th,.tablewrap td{display:block;width:auto;}.tablewrap thead{display:none;}.tablewrap tr{margin:0 0 14px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;}.tablewrap td{border:none;border-bottom:1px solid #f1f5f9;padding:9px 14px;}.tablewrap td:first-child{background:#f1f5f9;font-weight:800;font-size:15.5px;}.tablewrap td:last-child{border-bottom:none;}.tablewrap td[data-label]::before{content:attr(data-label) \" \u2014 \";font-weight:700;color:var(--color-primary);}}\n.code-block{background:#0f172a;color:#e2e8f0;padding:16px 20px;border-radius:8px;font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;line-height:1.6;margin:20px 0;overflow-x:auto;white-space:pre;}\n.cta{background:linear-gradient(135deg,#059669 0%,#10b981 100%);color:#fff;padding:28px 24px;border-radius:12px;margin:48px 0 0;text-align:center;}\n.cta h3{color:#fff;margin:0 0 8px;font-size:20px;}\n.cta p{color:#d1fae5;margin:0;font-size:15.5px;}\n.footer-nav{margin-top:32px;padding-top:20px;border-top:1px solid #e2e8f0;font-size:14px;color:var(--color-text-muted);}\n.footer-nav a{color:var(--color-primary);text-decoration:none;}\n@media (max-width:480px){.hero h1{font-size:26px;}.hero p{font-size:16px;}article h2{font-size:21px;}article h3{font-size:17px;}body{font-size:16px;}}\n<\/style>\n<section class=\"hero\">\n  <span class=\"eyebrow\">Node.js \uad50\uc7ac \u00b7 16\ud3b8 \u00b7 \uc5d0\ub7ec \ucc98\ub9ac<\/span>\n  <h1>\uc5d0\ub7ec \ucc98\ub9ac \u2014 try\/catch\uc640 Express \uc5d0\ub7ec<\/h1>\n  <p>\uc608\uc678 \ud55c \uc904\ub85c \ud504\ub85c\uc138\uc2a4\uac00 \uc8fd\uc73c\uba74 \uc548 \ub41c\ub2e4. \uc548\uc804\ub9dd \ub9cc\ub4dc\ub294 4\uac00\uc9c0 \uce35.<\/p>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-5-77.jpg\" alt=\"\uc5d0\ub7ec\uac00 try\/catch \uc640 \ubbf8\ub4e4\uc6e8\uc5b4\ub85c \uc7a1\ud788\ub294 \ucee8\uc149 \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/section>\n\n<div class=\"container\">\n<article>\n\n<p>\uc2e4\uc804 \ubc31\uc5d4\ub4dc\uc758 70% \ub294 \uc5d0\ub7ec \ucc98\ub9ac. \uc815\uc0c1 \ud750\ub984\uc740 \uc9e7\uace0 \uae54\ub054\ud55c\ub370, &#8220;DB \ub04a\uae40&#8221;\u00b7&#8221;\uc678\ubd80 API \ud0c0\uc784\uc544\uc6c3&#8221;\u00b7&#8221;\uc798\ubabb\ub41c \uc785\ub825&#8221;\u00b7&#8221;\uba54\ubaa8\ub9ac \ubd80\uc871&#8221; \uac19\uc740 \ube44\uc815\uc0c1\uc774 \ubb34\ud55c\ud788 \ub9ce\ub2e4. \ud55c \uad70\ub370 \ube60\ub728\ub9ac\uba74 \uc0ac\uc6a9\uc790\ub294 500 \uc5d0\ub7ec\ub97c \ubcf4\uace0, \ucd5c\uc545\uc758 \uacbd\uc6b0 \ud504\ub85c\uc138\uc2a4\uac00 \ud1b5\uc9f8\ub85c \uc8fd\ub294\ub2e4.<\/p>\n\n<p>Node \uc5d0\uc11c \uc5d0\ub7ec\ub97c \ub2e4\ub8e8\ub294 \ub3c4\uad6c\ub294 4\uac00\uc9c0 \u2014 <strong>try\/catch \u00b7 \ucee4\uc2a4\ud140 \uc5d0\ub7ec \ud074\ub798\uc2a4 \u00b7 Express \uc5d0\ub7ec \ubbf8\ub4e4\uc6e8\uc5b4 \u00b7 uncaughtException \uc548\uc804\ub9dd<\/strong>. \uc774\ubc88 \ud3b8\uc5d0\uc11c \ub124 \uce35\uc744 \uc313\uc544 \uc9c4\uc9dc \ub2e8\ub2e8\ud55c \uc11c\ube44\uc2a4\ub85c \ub9cc\ub4e0\ub2e4.<\/p>\n\n<h2>1. try\/catch \u2014 \uae30\ubcf8 \uc548\uc804\ub9dd<\/h2>\n\n<p>9\ud3b8\uc758 async\/await \uc640 \ud568\uaed8 \uac00\uc7a5 \uc790\uc8fc \uc4f0\ub294 \ud328\ud134.<\/p>\n\n<div class=\"code-block\">async function fetchUserData(id) {\n  try {\n    const user = await db.users.findUnique({ where: { id } });\n    if (!user) throw new Error(&#8216;\uc0ac\uc6a9\uc790 \uc5c6\uc74c&#8217;);\n    return user;\n  } catch (err) {\n    console.error(&#8216;[fetchUserData]&#8217;, err);\n    throw err;          \/\/ \ud638\ucd9c\uc790\uc5d0\uac8c \ub2e4\uc2dc \ub358\uc9d0 (\ub610\ub294 \uae30\ubcf8\uac12 \ubc18\ud658)\n  }\n}<\/div>\n\n<p>\uc911\uc694\ud55c \uacb0\uc815 \u2014 <strong>catch \uc548\uc5d0\uc11c throw \ub2e4\uc2dc<\/strong> \ud560\uc9c0, <strong>\uae30\ubcf8\uac12 \ubc18\ud658<\/strong>\ud560\uc9c0, <strong>\ub85c\uae45\ub9cc<\/strong> \ud560\uc9c0. \uc14b \ub2e4 \uc815\ub2f9\ud55c \uc120\ud0dd. \ub2e8 \ubb34\uc5c7\uc744 \uace8\ub790\ub294\uc9c0 \uc758\uc2dd\uc801\uc73c\ub85c.<\/p>\n\n<div class=\"warnbox\">\n<strong>\ud754\ud55c \uc548\ud2f0\ud328\ud134 \u2014 \ube48 catch<\/strong> \u2014 <code>catch (err) {}<\/code> \ucc98\ub7fc \ube44\uc6cc\ub450\uba74 \uc5d0\ub7ec\uac00 \ud1b5\uc9f8\ub85c \uc0ac\ub77c\uc9c4\ub2e4. \ub514\ubc84\uae45 \uc9c0\uc625. \ucd5c\uc18c\ud55c <code>console.error<\/code> \ub610\ub294 \ub85c\uae45 \ud638\ucd9c\uc774\ub77c\ub3c4. \ubb34\uc2dc\ud560 \uac70\uba74 \uba85\uc2dc\uc801\uc73c\ub85c <code>\/\/ intentionally ignored<\/code> \uc8fc\uc11d.\n<\/div>\n\n<h2>2. \ucee4\uc2a4\ud140 \uc5d0\ub7ec \ud074\ub798\uc2a4 \u2014 \ubd84\ub958\uc640 status \ub9e4\ud551<\/h2>\n\n<p>\ubaa8\ub4e0 \uc5d0\ub7ec\uac00 \uac19\uc9c0 \uc54a\ub2e4. &#8220;\ucc3e\uc744 \uc218 \uc5c6\uc74c&#8221;\u00b7&#8221;\uad8c\ud55c \uc5c6\uc74c&#8221;\u00b7&#8221;\uac80\uc99d \uc2e4\ud328&#8221; \ub294 \uc11c\ub85c \ub2e4\ub978 status \uc640 \uba54\uc2dc\uc9c0\uac00 \ud544\uc694. <strong>Error \ub97c \uc0c1\uc18d\ud574 \ubd84\ub958<\/strong>\ud55c\ub2e4.<\/p>\n\n<div class=\"code-block\">\/\/ errors.js\nexport class AppError extends Error {\n  constructor(message, status = 500, code = &#8216;INTERNAL&#8217;) {\n    super(message);\n    this.status = status;\n    this.code = code;\n    this.name = this.constructor.name;\n  }\n}\n\nexport class NotFoundError extends AppError {\n  constructor(resource = &#8216;\ub9ac\uc18c\uc2a4&#8217;) {\n    super(`${resource}\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4`, 404, &#8216;NOT_FOUND&#8217;);\n  }\n}\n\nexport class ValidationError extends AppError {\n  constructor(details) {\n    super(&#8216;\uc785\ub825\uac12\uc774 \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4&#8217;, 400, &#8216;VALIDATION_FAILED&#8217;);\n    this.details = details;\n  }\n}\n\nexport class UnauthorizedError extends AppError {\n  constructor() {\n    super(&#8216;\ub85c\uadf8\uc778\uc774 \ud544\uc694\ud569\ub2c8\ub2e4&#8217;, 401, &#8216;UNAUTHORIZED&#8217;);\n  }\n}<\/div>\n\n<p>\uc0ac\uc6a9 \u2014 \ud578\ub4e4\ub7ec \uc548\uc5d0\uc11c \uadf8\ub0e5 <code>throw<\/code>.<\/p>\n\n<div class=\"code-block\">router.get(&#8216;\/posts\/:id&#8217;, async (req, res, next) =&gt; {\n  const post = await db.posts.findUnique({ where: { id: req.params.id } });\n  if (!post) throw new NotFoundError(&#8216;\uae00&#8217;);  \/\/ \u2190 \ud55c \uc904\n  res.json(post);\n});<\/div>\n\n<p>\uc774 \ud55c \uc904\uc774 status 404 + \uba54\uc2dc\uc9c0 + code \uae4c\uc9c0 \uc790\ub3d9\uc73c\ub85c \uc804\ub2ec\ud55c\ub2e4. \uc911\uc559 \uc5d0\ub7ec \ud578\ub4e4\ub7ec\uac00 \uadf8\uac78 \ubc1b\uc544 \uc751\ub2f5.<\/p>\n\n<h2>3. Express \uc5d0\ub7ec \ubbf8\ub4e4\uc6e8\uc5b4 \u2014 \uc911\uc559 \ucc98\ub9ac<\/h2>\n\n<p>14\ud3b8\uc5d0\uc11c \uc7a0\uae50 \ubcf8 \ud328\ud134. <strong>\uc778\uc790 4\uac1c<\/strong>\uac00 \uc2e0\ud638.<\/p>\n\n<div class=\"code-block\">\/\/ server.js \u2014 \ub77c\uc6b0\ud2b8 \ubaa8\ub450 \ub4f1\ub85d \ub4a4\uc5d0\napp.use((err, req, res, next) =&gt; {\n  \/\/ 1. \ub85c\uae45 (\uad6c\uc870\ud654\ub41c \ud615\uc2dd\uc73c\ub85c)\n  console.error({\n    name: err.name,\n    code: err.code,\n    message: err.message,\n    stack: process.env.NODE_ENV === &#8216;development&#8217; ? err.stack : undefined,\n    path: req.path,\n    method: req.method,\n  });\n\n  \/\/ 2. \uc54c\ub824\uc9c4 AppError \uba74 \uadf8\ub300\ub85c \uc751\ub2f5\n  if (err instanceof AppError) {\n    return res.status(err.status).json({\n      error: { code: err.code, message: err.message, details: err.details },\n    });\n  }\n\n  \/\/ 3. \ubaa8\ub974\ub294 \uc5d0\ub7ec\ub294 500 + \uc548\uc804 \uba54\uc2dc\uc9c0\n  res.status(500).json({\n    error: { code: &#8216;INTERNAL&#8217;, message: &#8216;\uc11c\ubc84 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4&#8217; },\n  });\n});<\/div>\n\n<p>\ud575\uc2ec \u2014 <strong>\uc54c\ub824\uc9c4 \uc5d0\ub7ec\uc640 \ubaa8\ub974\ub294 \uc5d0\ub7ec\ub97c \ub098\ub208\ub2e4<\/strong>. AppError \ub294 \uc0ac\uc6a9\uc790\uc5d0\uac8c \uadf8\ub300\ub85c \ubcf4\uc5ec\uc918\ub3c4 \uc548\uc804\ud55c \uba54\uc2dc\uc9c0. \uadf8 \uc678(<code>TypeError<\/code>\u00b7<code>RangeError<\/code> \ub4f1)\ub294 \ub514\ubc84\uae45 \uc815\ubcf4\uac00 \ub4e4\uc5b4\uc788\uc744 \uc218 \uc788\uc73c\ub2c8 <strong>\uc548\uc804\ud55c \uc77c\ubc18 \uba54\uc2dc\uc9c0<\/strong>\ub85c \uad50\uccb4.<\/p>\n\n<div class=\"databox\">\n<strong>\uc2a4\ud0dd \ud2b8\ub808\uc774\uc2a4 \ub178\ucd9c \uae08\uc9c0<\/strong> \u2014 production \uc5d0\uc11c <code>err.stack<\/code> \uc744 \uc751\ub2f5\uc5d0 \ud3ec\ud568\ud558\uba74 \ucf54\ub4dc \uacbd\ub85c\u00b7\ub77c\uc774\ube0c\ub7ec\ub9ac \ubc84\uc804\uc774 \uc0c8 \ub098\uac04\ub2e4. \ubcf4\uc548 \uc0ac\uace0. \ub85c\uae45\uc5d4 \ud3ec\ud568, \uc751\ub2f5\uc5d0\uc120 \uc81c\uac70. <code>NODE_ENV === 'development'<\/code> \ubd84\uae30\uac00 \ud45c\uc900.\n<\/div>\n\n<h2>4. async \ubbf8\ub4e4\uc6e8\uc5b4 \ud568\uc815 \u2014 Express 5 vs 4<\/h2>\n\n<p>14\ud3b8\uc5d0\uc11c\ub3c4 \uc9da\uc5c8\ub358 \ubd80\ubd84. \ub2e4\uc2dc \ud55c \ubc88.<\/p>\n\n<div class=\"code-block\">\/\/ \u274c Express 4 \u2014 async throw \uc790\ub3d9 \uce90\uce58 \uc548 \ub428\nrouter.get(&#8216;\/x&#8217;, async (req, res) =&gt; {\n  throw new Error(&#8216;won\\\\&#8217;t be caught!&#8217;);\n});\n\n\/\/ \u2705 Express 5 (2024 stable) \u2014 \uc790\ub3d9 \uce90\uce58\nrouter.get(&#8216;\/x&#8217;, async (req, res) =&gt; {\n  throw new Error(&#8216;caught by error middleware&#8217;);\n});\n\n\/\/ \u2705 Express 4 \ud638\ud658 \u2014 \ub9e4 \ub77c\uc6b0\ud2b8 try\/catch \ub610\ub294 wrap \ud5ec\ud37c\nconst asyncH = (fn) =&gt; (req, res, next) =&gt;\n  Promise.resolve(fn(req, res, next)).catch(next);\n\nrouter.get(&#8216;\/x&#8217;, asyncH(async (req, res) =&gt; {\n  throw new Error(&#8216;caught&#8217;);\n}));<\/div>\n\n<p>Express 5 \uba74 \uadf8\ub0e5 throw, 4 \uba74 wrap \ud5ec\ud37c \ub610\ub294 <code>express-async-errors<\/code> \ud328\ud0a4\uc9c0. \uc5b4\ub290 \ubc84\uc804\uc778\uc9c0 <code>package.json<\/code> \ud655\uc778\ubd80\ud130.<\/p>\n\n<h2>5. uncaughtException \u2014 \ucd5c\ud6c4\uc758 \uc548\uc804\ub9dd<\/h2>\n\n<p>\ubaa8\ub4e0 try\/catch \uc640 \ubbf8\ub4e4\uc6e8\uc5b4\uac00 \uc7a1\uc9c0 \ubabb\ud55c \uc5d0\ub7ec\uac00 \uacb0\uad6d \uc5ec\uae30\ub85c. \uc7a1\uc9c0 \uc54a\uc73c\uba74 \ud504\ub85c\uc138\uc2a4\uac00 \uc8fd\ub294\ub2e4.<\/p>\n\n<div class=\"code-block\">\/\/ server.js \ub9e8 \uc704\nprocess.on(&#8216;uncaughtException&#8217;, (err) =&gt; {\n  console.error(&#8216;[uncaughtException]&#8217;, err);\n  \/\/ \uc678\ubd80 \uc5d0\ub7ec \ucd94\uc801 \uc11c\ube44\uc2a4\ub85c \ubcf4\uace0 (Sentry \ub4f1)\n  \/\/ \uad8c\uc7a5: \uc548\uc804\ud558\uac8c \uc885\ub8cc \ud6c4 PM2\/Docker \uac00 \uc7ac\uc2dc\uc791\n  process.exit(1);\n});\n\nprocess.on(&#8216;unhandledRejection&#8217;, (reason) =&gt; {\n  console.error(&#8216;[unhandledRejection]&#8217;, reason);\n  \/\/ Node 22 \ubd80\ud130 \uae30\ubcf8\uc774 throw \ub77c \uacb0\uad6d uncaughtException \uc73c\ub85c\n});<\/div>\n\n<div class=\"warnbox\">\n<strong>uncaughtException \ud6c4 process.exit(1) \uad8c\uc7a5<\/strong> \u2014 \ud45c\uba74\uc801\uc73c\ub860 &#8220;\uc5b4\ucc28\ud53c \uc7a1\uc558\uc73c\ub2c8 \uacc4\uc18d \ub3cc\uc544\ub3c4 \ub418\uc9c0 \uc54a\ub098?&#8221; \uc2f6\uc9c0\ub9cc, \uadf8 \uc2dc\uc810\uc5d0 \uba54\ubaa8\ub9ac\u00b7\uc18c\ucf13 \uc0c1\ud0dc\uac00 \uae68\uc84c\uc744 \uac00\ub2a5\uc131\uc774 \uc788\ub2e4. \uc548\uc804\ud558\uac8c \uc885\ub8cc \ud6c4 PM2\u00b7Docker\u00b7systemd \uac00 \uc7ac\uc2dc\uc791\ud558\ub294 \uac8c production \ud45c\uc900. 22\ud3b8 PM2 \uc5d0\uc11c \ub2e4\uc2dc \ub2e4\ub8ec\ub2e4.\n<\/div>\n\n<h3>\uc694\uc57d \u2014 16\ud3b8 \uc88c\ud45c<\/h3>\n\n<p>\uc5ec\uae30\uae4c\uc9c0 \uc815\ub9ac. \uc5d0\ub7ec \ucc98\ub9ac 4\uce35 \u2014 \u2460 <strong>try\/catch<\/strong>(\uc9c1\uc811 \uc7a1\uae30, \ube48 catch \uae08\uc9c0), \u2461 <strong>\ucee4\uc2a4\ud140 AppError<\/strong>(\ubd84\ub958\u00b7status\u00b7code), \u2462 <strong>Express \uc5d0\ub7ec \ubbf8\ub4e4\uc6e8\uc5b4<\/strong>(\uc778\uc790 4\uac1c, \uc54c\ub824\uc9c4\/\ubaa8\ub974\ub294 \uc5d0\ub7ec \ubd84\uae30, \uc2a4\ud0dd \ub178\ucd9c \uae08\uc9c0), \u2463 <strong>uncaughtException<\/strong>(\ucd5c\ud6c4 \uc548\uc804\ub9dd, exit 1 + \uc7ac\uc2dc\uc791). Express 4 \uba74 async wrap, 5 \uba74 \uc790\ub3d9. \ub2e4\uc74c \ud3b8\uc5d0\uc11c <strong>\ud658\uacbd\ubcc0\uc218<\/strong> \ub2e4\ub8e8\uae30.<\/p>\n\n<div class=\"cta\">\n<h3>\ub2e4\uc74c \ud3b8 \uc608\uace0 \u2014 \ud658\uacbd\ubcc0\uc218\uc640 dotenv<\/h3>\n<p>.env \ub85c \ube44\ubc00 \uc124\uc815 \ubd84\ub9ac, NODE_ENV \ud65c\uc6a9. 17\ud3b8.<\/p>\n<\/div>\n\n<div class=\"footer-nav\">\n\uc2dc\ub9ac\uc988 \u00b7 <a href=\"https:\/\/junai.ai\/blog\/category\/nodejs\/\">\uc27d\uac8c \ubc30\uc6b0\ub294 Node.js<\/a> \u00b7 \uc774\uc804: <a href=\"https:\/\/junai.ai\/blog\/nodejs-json-api-15\/\">Ch.15 JSON API<\/a>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Node \uc5d0\ub7ec \ucc98\ub9ac 4\uce35 \u2014 try\/catch\u00b7\ucee4\uc2a4\ud140 \uc5d0\ub7ec\u00b7Express \ubbf8\ub4e4\uc6e8\uc5b4\u00b7uncaughtException. \uad50\uc7ac 16\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":845,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nodejs"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":0,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/845"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}