Skip to content

Commit cb76770

Browse files
committed
Just blocking a few console log statements.
1 parent b6d809a commit cb76770

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

v2.0/helpers/landing/landing.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,6 @@ const sendNativeLands = async function(req, res, next) {
408408
},
409409
signal: AbortSignal.timeout(5000),
410410
}).catch((err) => {
411-
console.log('Fetch error caught:', err.name, err.message);
412-
console.log('Full error object:', JSON.stringify(err)); // Add this
413-
console.log('Error cause:', err.cause); // Add this - often has the real error!
414-
415411
res.status(500)
416412
.json({
417413
status: 'failure',

v2.0/helpers/speleothems/speleothems.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ function speleothemsbycuid(req, res, next) {
5959
*/
6060
function speleothemsbydsid(req, res, next) {
6161
const db = req.app.locals.db;
62-
console.log('speleothems', req.params);
62+
// console.log('speleothems', req.params);
6363
const goodstid = !!req.params.datasetid;
64-
console.log('speleothemsbydsid', req.params.datasetid);
64+
// console.log('speleothemsbydsid', req.params.datasetid);
6565

6666
if (goodstid) {
6767
const dsid = commaSep(req.params.datasetid);
@@ -93,4 +93,4 @@ function speleothemsbydsid(req, res, next) {
9393
}
9494

9595
// module.exports.speleothemsbycuid = speleothemsbycuid;
96-
module.exports.speleothemsbycuid = speleothemsbycuid;
96+
module.exports.speleothemsbycuid = speleothemsbycuid;

0 commit comments

Comments
 (0)