From 35d926b9595513d889f025b187a7da8b444252ce Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Fri, 15 Jan 2021 21:57:19 -0500 Subject: [PATCH] Fix inferIcon error surfacing in full since recent axios --- src/options/fields/icon.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/options/fields/icon.ts b/src/options/fields/icon.ts index 1a568d4..7133e69 100644 --- a/src/options/fields/icon.ts +++ b/src/options/fields/icon.ts @@ -22,7 +22,10 @@ export async function icon(options: IconParams): Promise { options.packager.platform, ); } catch (error) { - log.warn('Cannot automatically retrieve the app icon:', error); + log.warn( + 'Cannot automatically retrieve the app icon:', + error.message || '', + ); return null; } }