mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +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() {
|
void EventStreamReader::run() {
|
||||||
try {
|
try {
|
||||||
emit started();
|
emit started();
|
||||||
|
// 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
|
||||||
grpc::Status const status = app().grpc().runEventStreamReader();
|
// want this to generate a sentry report.
|
||||||
if (!status.ok()) {
|
app().grpc().runEventStreamReader();
|
||||||
throw Exception(QString::fromStdString(status.error_message()));
|
|
||||||
}
|
|
||||||
|
|
||||||
emit finished();
|
emit finished();
|
||||||
}
|
}
|
||||||
catch (Exception const &e) {
|
catch (Exception const &e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user