Skip to content

Commit 76ec16c

Browse files
committed
removed debug messages
1 parent 39acdfa commit 76ec16c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/routes/copilotOpportunity/get.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import util from '../../util';
44
module.exports = [
55
(req, res, next) => {
66
const { id } = req.params;
7-
req.log.info("Reached get endpoint");
87
if (!id || isNaN(id)) {
98
return util.handleError('Invalid opportunity ID', null, req, next, 400);
109
}

src/routes/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,6 @@ router.use((err, req, res, next) => { // eslint-disable-line no-unused-vars
473473

474474
// catch 404 and forward to error handler
475475
router.use((req, res, next) => {
476-
req.log.info("reached middleware")
477476
const err = new Error('Not Found');
478477
err.status = 404;
479478
next(err);

0 commit comments

Comments
 (0)