Skip to content

Commit 45b1a28

Browse files
committed
chore: propagate error from runtime to the client
1 parent 547fb0a commit 45b1a28

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/services/livesync/android-device-livesync-sockets-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class AndroidDeviceSocketsLiveSyncService extends AndroidDeviceLiveSyncSe
4848
return result;
4949
} catch (e) {
5050
this.livesyncTool.end();
51+
throw e;
5152
}
5253
}
5354

lib/services/livesync/android-livesync-tool.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ export class AndroidLivesyncTool implements IAndroidLivesyncTool {
266266
const error = this.checkConnectionStatus();
267267
if (error && rejectHandler) {
268268
rejectHandler(error);
269+
return false;
269270
}
270271

271272
if (error && !rejectHandler) {

0 commit comments

Comments
 (0)