mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-21 09:36:51 +00:00
feat(GODT-2482): more attachment to relevant exceptions.
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
|
||||
namespace bridgepp {
|
||||
|
||||
|
||||
@ -44,6 +45,9 @@ public: // member functions
|
||||
QByteArray attachment() const noexcept; ///< Return the attachment for the exception.
|
||||
QString detailedWhat() const; ///< Return the detailed description of the message (i.e. including the function name and the details).
|
||||
|
||||
public: // static data members
|
||||
static qsizetype const attachmentMaxLength {25 * 1024}; ///< The maximum length text attachment sent in Sentry reports, in bytes.
|
||||
|
||||
private: // data members
|
||||
QString const qwhat_; ///< The description of the exception.
|
||||
QByteArray const what_; ///< The c-string version of the qwhat message. Stored as a QByteArray for automatic lifetime management.
|
||||
|
||||
Reference in New Issue
Block a user