mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-03 22:22:11 +00:00
Improve reporting of version file errors.x
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user