Skip to content

Commit 9f4cf85

Browse files
committed
fix: fixed issue with onError propagation
1 parent 19f6094 commit 9f4cf85

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/uiLocation.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,11 @@ class UiLocation {
399399
{ data: event.data.data },
400400
]);
401401
}
402+
if (event.data.name === "onError") {
403+
emitter.emitEvent("onError", [
404+
event.data.data,
405+
]);
406+
}
402407
});
403408
} catch (err) {
404409
console.error("Extension Event", err);

0 commit comments

Comments
 (0)