feat: Rename to Toju and add translation
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
This commit is contained in:
@@ -139,7 +139,7 @@ export class SignalingManager {
|
||||
this.discardCurrentSocket();
|
||||
this.connectionStatus$.next({
|
||||
connected: false,
|
||||
errorMessage: 'Timed out connecting to signaling server'
|
||||
errorMessage: 'network.signaling.connectTimeout'
|
||||
});
|
||||
|
||||
this.scheduleReconnect();
|
||||
@@ -220,7 +220,7 @@ export class SignalingManager {
|
||||
});
|
||||
|
||||
this.connectionStatus$.next({ connected: false,
|
||||
errorMessage: 'Connection to signaling server failed' });
|
||||
errorMessage: 'network.signaling.connectionFailed' });
|
||||
|
||||
observer.error(error);
|
||||
};
|
||||
@@ -241,7 +241,7 @@ export class SignalingManager {
|
||||
|
||||
this.stopHeartbeat();
|
||||
this.connectionStatus$.next({ connected: false,
|
||||
errorMessage: 'Disconnected from signaling server' });
|
||||
errorMessage: 'network.signaling.disconnected' });
|
||||
|
||||
this.scheduleReconnect();
|
||||
};
|
||||
@@ -604,13 +604,13 @@ export class SignalingManager {
|
||||
this.lastEndpointHealthOk = snapshot.ok;
|
||||
|
||||
if (!snapshot.ok) {
|
||||
this.handleSocketTransportFailure('Signaling server health check failed');
|
||||
this.handleSocketTransportFailure('network.signaling.healthCheckFailed');
|
||||
return;
|
||||
}
|
||||
|
||||
if (snapshot.serverInstanceId) {
|
||||
if (previousServerInstanceId && snapshot.serverInstanceId !== previousServerInstanceId) {
|
||||
this.handleSocketTransportFailure('Signaling server instance changed; refreshing websocket');
|
||||
this.handleSocketTransportFailure('network.signaling.instanceChanged');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -618,7 +618,7 @@ export class SignalingManager {
|
||||
}
|
||||
|
||||
if (wasHealthy === false) {
|
||||
this.handleSocketTransportFailure('Signaling server recovered; refreshing websocket');
|
||||
this.handleSocketTransportFailure('network.signaling.recovered');
|
||||
}
|
||||
} finally {
|
||||
this.endpointHealthProbeInFlight = false;
|
||||
@@ -638,7 +638,7 @@ export class SignalingManager {
|
||||
return;
|
||||
}
|
||||
|
||||
this.handleSocketTransportFailure('Signaling keepalive acknowledgement timed out');
|
||||
this.handleSocketTransportFailure('network.signaling.keepaliveTimeout');
|
||||
}
|
||||
|
||||
private sendKeepaliveIfDue(): void {
|
||||
@@ -657,7 +657,7 @@ export class SignalingManager {
|
||||
this.lastKeepaliveAckAt = this.lastKeepaliveSentAt;
|
||||
}
|
||||
} catch (error) {
|
||||
this.handleSocketTransportFailure('Failed to send signaling keepalive', error);
|
||||
this.handleSocketTransportFailure('network.signaling.keepaliveSendFailed', error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -712,7 +712,7 @@ export class SignalingManager {
|
||||
url: details.url
|
||||
});
|
||||
|
||||
this.handleSocketTransportFailure('Failed to send signaling payload', error);
|
||||
this.handleSocketTransportFailure('network.signaling.payloadSendFailed', error);
|
||||
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user