Skip to content

Commit eec7162

Browse files
committed
Working to fix the error returned from the nativelands endpoint.
Returning out of the `catch` so code stops executing when we encounter an error.
1 parent 4c349d1 commit eec7162

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v2.0/helpers/landing/landing.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,8 @@ const sendNativeLands = async function(req, res, next) {
413413
data: null,
414414
message: err.message,
415415
});
416+
console.log(process.env.NATIVELANDKEY);
417+
return;
416418
});
417419

418420
const httpResponse = await (maps.ok);

0 commit comments

Comments
 (0)