feat(GODT-2728): remove the sentry report for gRPC event stream interruptions in bridge-gui.

(cherry picked from commit 58b45d8458)
This commit is contained in:
Xavier Michelon
2023-06-27 17:08:09 +02:00
parent 03cf601921
commit ea47c9aa1c

View File

@ -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) {