From 39d334cab5fcd265f418a4db9cc1126898b1de23 Mon Sep 17 00:00:00 2001 From: Szymon Kazmierczak Date: Wed, 6 May 2020 15:22:35 +0100 Subject: [PATCH] update error message --- src/model/action.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/model/action.js b/src/model/action.js index 8b542c33..08aecc7c 100644 --- a/src/model/action.js +++ b/src/model/action.js @@ -40,7 +40,9 @@ class Action { static checkCompatibility() { const currentPlatform = process.platform; if (!Action.supportedPlatforms.includes(currentPlatform)) { - throw new Error(`Currently ${currentPlatform}-platform is not supported`); + throw new Error( + `Selected target build platform: {platform} is incorrect/not supported. Please refer to Unity BuildTarget for a list of available platforms`, + ); } } }