From 0e6dbf6ecb14e7389c77028868becd297173b763 Mon Sep 17 00:00:00 2001 From: chase Date: Sun, 26 Feb 2023 19:43:06 -0600 Subject: [PATCH] Update Lidarr Error. --- src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index b23bd7b..f60c76b 100644 --- a/src/app.js +++ b/src/app.js @@ -17,11 +17,11 @@ try let apiCheck = await fetch(`${ lidarrUrl }/api?apikey=${ apiKey }`); apiCheck = await apiCheck.json(); if (!Object.prototype.hasOwnProperty.call(apiCheck, `current`)) - throw new Error(`Lidarr API is not available. Do you have the right URL & API Key?`); + throw new Error(`Lidarr API is not available.`); } catch { - console.log(`Lidarr API is not available. Do you have the right URL & API Key?`); + console.log(`Lidarr API is not available.\nDo you have the right URL & API Key?\nYou also need to be on the latest develop version of Lidarr.`); process.exit(1); }