fix/check-for-auth-on-scrape-log
This commit is contained in:
parent
4ead89f983
commit
4eca6bd301
|
@ -7,6 +7,10 @@ export async function logScrape(
|
|||
scrapeLog: ScrapeLog,
|
||||
pageOptions?: PageOptions
|
||||
) {
|
||||
if (process.env.USE_DB_AUTHENTICATION === "false") {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
// Only log jobs in production
|
||||
// if (process.env.ENV !== "production") {
|
||||
|
|
Loading…
Reference in New Issue