Skip to content

Commit ab25253

Browse files
committed
Add error logging
1 parent 424ca4f commit ab25253

File tree

1 file changed

+2
-1
lines changed
  • web/src/app/projects/[project-id]/endpoints/[endpoint-id]

1 file changed

+2
-1
lines changed

web/src/app/projects/[project-id]/endpoints/[endpoint-id]/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ export default function EndpointShow() {
226226
}
227227
try {
228228
return JSON.stringify(JSON.parse(body), null, 4);
229-
} catch (_) {
229+
} catch (error) {
230+
console.error(error);
230231
return body;
231232
}
232233
};

0 commit comments

Comments
 (0)