feat(GODT-2446): Attach logs to sentry reports for relevant bridge-gui exceptions.

This commit is contained in:
Xavier Michelon
2023-03-06 13:02:57 +01:00
parent 227bbf1c03
commit 2aa4e7c9da
13 changed files with 211 additions and 45 deletions

View File

@ -20,21 +20,16 @@
#define BRIDGE_GUI_APP_CONTROLLER_H
// @formatter:off
class QMLBackend;
namespace bridgepp {
class Log;
class Overseer;
class GRPCClient;
class ProcessMonitor;
class Exception;
}
// @formatter:off
//****************************************************************************************************************************************************
@ -58,7 +53,7 @@ public: // member functions.
void setLauncherArgs(const QString& launcher, const QStringList& args);
public slots:
void onFatalError(QString const &function, QString const &message, QString const& details); ///< Handle fatal errors.
void onFatalError(bridgepp::Exception const& e); ///< Handle fatal errors.
private: // member functions
AppController(); ///< Default constructor.