Skip to content

Commit d3d7588

Browse files
fix(web): raise only TERMINATED message on session termination with the error backtrace (#837)
1 parent 51d6d1f commit d3d7588

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

web-client/iron-remote-desktop/src/services/remote-desktop.service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,9 @@ export class RemoteDesktopService {
188188
.catch((err: IronError) => {
189189
this.setVisibility(false);
190190

191-
this.raiseSessionEvent({
192-
type: SessionEventType.ERROR,
193-
data: err.backtrace(),
194-
});
195191
this.raiseSessionEvent({
196192
type: SessionEventType.TERMINATED,
197-
data: 'Session was terminated.',
193+
data: 'Session was terminated with an error: ' + err.backtrace() + '.',
198194
});
199195
});
200196
}

0 commit comments

Comments
 (0)