overte/interface/src/CrashHandler_None.cpp
Dale Glass e3004af61a More logging for crash reporting
* Make it clear in cmake if crash reporting is going to be used
* Log warning on startup if there's no crash reporting
2021-07-10 01:43:18 +02:00

34 lines
725 B
C++

//
// CrashHandler_None.cpp
// interface/src
//
// Created by Clement Brisset on 01/19/18.
// Copyright 2018 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#if !defined(HAS_CRASHPAD) && !defined(HAS_BREAKPAD)
#include "CrashHandler.h"
#include <assert.h>
#include <QDebug>
Q_LOGGING_CATEGORY(crash_handler, "vircadia.crash_handler")
bool startCrashHandler(std::string appPath) {
qCWarning(crash_handler) << "No crash handler available.";
return false;
}
void setCrashAnnotation(std::string name, std::string value) {
}
void startCrashHookMonitor(QCoreApplication* app) {
}
#endif