show missing variables for stg
This commit is contained in:
parent
abad89ca61
commit
29fd625436
@ -115,7 +115,7 @@ export class BackendVariables {
|
||||
try {
|
||||
await validateOrReject(this, validationOptions);
|
||||
} catch (error: any) {
|
||||
if (process.env["ENV"] === "dev") {
|
||||
if (process.env["ENV"] === "dev" || process.env["ENV"] === 'stg') {
|
||||
throw error;
|
||||
}
|
||||
throw new Error("Some env variables are required!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user