Skip to content

Commit ea2e0c5

Browse files
committed
fix(android): log errors during sdk walk, don't throw
fixes #40
1 parent 6909c5f commit ea2e0c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/android/utils/sdk/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export async function findAllSDKPackages(sdk: SDK): Promise<SDKPackage[]> {
5353
debug('Walking %s to discover SDK packages', sdk.root);
5454
const contents = await readdirp(sdk.root, {
5555
filter: item => pathlib.basename(item.path) === 'package.xml',
56+
onError: err => debug('Error while walking SDK: %O', err),
5657
walkerOptions: {
5758
pathFilter: p => {
5859
if ([

0 commit comments

Comments
 (0)