mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
fix(web): raise only TERMINATED message on session termination with the error backtrace (#837)
This commit is contained in:
@@ -188,13 +188,9 @@ export class RemoteDesktopService {
|
||||
.catch((err: IronError) => {
|
||||
this.setVisibility(false);
|
||||
|
||||
this.raiseSessionEvent({
|
||||
type: SessionEventType.ERROR,
|
||||
data: err.backtrace(),
|
||||
});
|
||||
this.raiseSessionEvent({
|
||||
type: SessionEventType.TERMINATED,
|
||||
data: 'Session was terminated.',
|
||||
data: 'Session was terminated with an error: ' + err.backtrace() + '.',
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user