diff --git a/package.json b/package.json index de333c9..2da4b67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "raspberry-pi-client", - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "private": true, "scripts": { "dev": "next dev", diff --git a/scripts/initialize-environment.js b/scripts/initialize-environment.js index 5ec8bba..894bff7 100644 --- a/scripts/initialize-environment.js +++ b/scripts/initialize-environment.js @@ -28,4 +28,9 @@ function initialize() { initializeConfig(); } -initialize(); +try { + initialize(); +} catch (error) { + console.error(`Failed to initialize environment`); + console.error(error); +}