From 155988be81292db0bd44a1b7f0d9a5f08745f372 Mon Sep 17 00:00:00 2001 From: enisdenjo Date: Tue, 29 Nov 2022 11:38:56 +0100 Subject: [PATCH] while resolving --- packages/config/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config/src/utils.ts b/packages/config/src/utils.ts index c32e12525dbd5..6d4afef63925f 100644 --- a/packages/config/src/utils.ts +++ b/packages/config/src/utils.ts @@ -62,7 +62,7 @@ export async function getPackage({ !error.message.includes(`Cannot find package '${moduleName}'`) && !error.message.includes(`Could not locate module`) ) { - throw new Error(`Unable to load ${type} matching ${name}: ${error.stack}`); + throw new Error(`Unable to load ${type} matching ${name} while resolving ${moduleName}: ${error.stack}`); } } }