Skip to content

Commit

Permalink
remove send response from catch.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinovpankaj committed Oct 15, 2023
1 parent 955b9e9 commit 6ee221a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/project-endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ router.route('/generatereport')

} catch (err) {
console.error('Error generating Report:', err);
return res.status(500).send('Error generating Report');
//return res.status(500).send('Error generating Report');
}
});

Expand Down

0 comments on commit 6ee221a

Please sign in to comment.