Skip to content

Commit

Permalink
while resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo authored and gilgardosh committed Dec 5, 2022
1 parent 6be5607 commit 155988b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/config/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function getPackage<T>({
!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}`);
}
}
}
Expand Down

0 comments on commit 155988b

Please sign in to comment.