forked from Silverfish/proton-bridge
GODT-2157: Add Sentry to Bridge-Gui
This commit is contained in:
committed by
Romain Le Jeune
parent
1c374b59d3
commit
2747f3b492
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
#include "EventStreamWorker.h"
|
||||
#include "SentryUtils.h"
|
||||
#include <bridgepp/GRPC/GRPCClient.h>
|
||||
#include <bridgepp/Exception/Exception.h>
|
||||
#include <bridgepp/Log/Log.h>
|
||||
@ -54,6 +55,7 @@ void EventStreamReader::run()
|
||||
}
|
||||
catch (Exception const &e)
|
||||
{
|
||||
reportSentryException(SENTRY_LEVEL_ERROR, "Error during event stream read", "Exception", e.what());
|
||||
emit error(e.qwhat());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user