summaryrefslogtreecommitdiffstats
path: root/MMCError.h
diff options
context:
space:
mode:
Diffstat (limited to 'MMCError.h')
-rw-r--r--MMCError.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/MMCError.h b/MMCError.h
index 33591e06..7b2bd0c4 100644
--- a/MMCError.h
+++ b/MMCError.h
@@ -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
+};