We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89dd3aa commit 4db5bb3Copy full SHA for 4db5bb3
lib/services/livesync/playground/preview-app-livesync-service.ts
@@ -42,9 +42,14 @@ export class PreviewAppLiveSyncService extends EventEmitter implements IPreviewA
42
} finally {
43
this.deviceInitializationPromise[device.id] = null;
44
}
45
- } catch (err) {
46
- this.$logger.error(err);
47
- this.emit(PreviewAppLiveSyncEvents.PREVIEW_APP_LIVE_SYNC_ERROR, err);
+ } catch (error) {
+ this.$logger.error(error);
+ this.emit(PreviewAppLiveSyncEvents.PREVIEW_APP_LIVE_SYNC_ERROR, {
48
+ error,
49
+ data,
50
+ platform: device.platform,
51
+ deviceId: device.id
52
+ });
53
54
});
55
0 commit comments