From 61cf0495220f0d3801dcbec1d2075541efc8cf40 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Tue, 13 Dec 2016 13:01:00 +0100
Subject: [PATCH] Clarify unsupported architecture error

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D5252
---
 tools/ade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ade b/tools/ade
index 1674568..f4fc365 100755
--- a/tools/ade
+++ b/tools/ade
@@ -209,7 +209,7 @@ class Device:
             raise InvalidDeviceError("No image_version file found")
         a = self._exec('uname', '-m')
         if a not in TargetTriplet.SUPPORTED:
-            raise InvalidDeviceError("Unsupported architecture")
+            raise InvalidDeviceError("Unsupported architecture {}".format(a))
         self.version.arch = a
 
 
-- 
GitLab