mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-03 22:22:11 +00:00
SCRATCH nuke the overcomplicated logger, use a simple one.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <exception>
|
||||
#include <QString>
|
||||
#include <logger/QsLog.h>
|
||||
#include <QDebug>
|
||||
|
||||
class MMCError : public std::exception
|
||||
{
|
||||
@@ -9,7 +9,7 @@ public:
|
||||
MMCError(QString cause)
|
||||
{
|
||||
exceptionCause = cause;
|
||||
QLOG_ERROR() << "Exception: " + cause;
|
||||
qCritical() << "Exception: " + cause;
|
||||
};
|
||||
virtual ~MMCError() noexcept {}
|
||||
virtual const char *what() const noexcept
|
||||
|
||||
Reference in New Issue
Block a user