Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit a55b4b3

Browse files
committed
fix: Missing error info with exceptions
1 parent de6d7f6 commit a55b4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geolocation.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export function enableLocationRequest(always?: boolean): Promise<void> {
210210
return resolve();
211211
}
212212
}
213-
reject(new Error("Cannot enable the location service"));
213+
reject(new Error("Cannot enable the location service. " + ex));
214214
});
215215
}, reject);
216216
}, reject);

0 commit comments

Comments
 (0)