logging cron error
This commit is contained in:
parent
44685ba020
commit
c22a9a911b
@ -200,6 +200,7 @@ export class BackendVariables {
|
||||
if (process.env["ENV"] === "dev" || process.env["ENV"] === "stg") {
|
||||
throw error;
|
||||
}
|
||||
console.error(error);
|
||||
throw new Error("Some env variables are required!");
|
||||
}
|
||||
return this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user