diff options
Diffstat (limited to 'MMCError.h')
-rw-r--r-- | MMCError.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -9,7 +9,7 @@ public: MMCError(QString cause) { exceptionCause = cause; - QLOG_ERROR() << errorName() + ": " + cause; + QLOG_ERROR() << "Exception: " + cause; }; virtual ~MMCError(){}; virtual const char *what() const noexcept @@ -20,10 +20,6 @@ public: { return exceptionCause; } - virtual QString errorName() - { - return "MultiMC Error"; - } private: QString exceptionCause; -};
\ No newline at end of file +}; |