chore: change errors to warnings

This commit is contained in:
James Murdza 2024-10-24 17:38:43 -06:00
parent f6cded11f4
commit ca8c7ae0aa

View File

@ -70,11 +70,11 @@ const lockManager = new LockManager()
// Check for required environment variables // Check for required environment variables
if (!process.env.DOKKU_HOST) if (!process.env.DOKKU_HOST)
console.error("Environment variable DOKKU_HOST is not defined") console.warn("Environment variable DOKKU_HOST is not defined")
if (!process.env.DOKKU_USERNAME) if (!process.env.DOKKU_USERNAME)
console.error("Environment variable DOKKU_USERNAME is not defined") console.warn("Environment variable DOKKU_USERNAME is not defined")
if (!process.env.DOKKU_KEY) if (!process.env.DOKKU_KEY)
console.error("Environment variable DOKKU_KEY is not defined") console.warn("Environment variable DOKKU_KEY is not defined")
// Initialize Dokku client // Initialize Dokku client
const dokkuClient = const dokkuClient =