mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
feat(GODT-2728): remove the sentry report for gRPC event stream interruptions in bridge-gui.
This commit is contained in:
@ -43,12 +43,9 @@ EventStreamReader::EventStreamReader(QObject *parent)
|
||||
void EventStreamReader::run() {
|
||||
try {
|
||||
emit started();
|
||||
|
||||
grpc::Status const status = app().grpc().runEventStreamReader();
|
||||
if (!status.ok()) {
|
||||
throw Exception(QString::fromStdString(status.error_message()));
|
||||
}
|
||||
|
||||
// Status code for the call below is ignored. The event stream may have interrupted by system shutdown or OS user sign-out, and we do not
|
||||
// want this to generate a sentry report.
|
||||
app().grpc().runEventStreamReader();
|
||||
emit finished();
|
||||
}
|
||||
catch (Exception const &e) {
|
||||
|
||||
Reference in New Issue
Block a user