/*
 * Skybot, a multipurpose discord bot
 *      Copyright (C) 2017 - 2019  Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package ml.duncte123.skybot.unstable.utils;

import ml.duncte123.skybot.Author;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Author(nickname = "Sanduhr32", author = "Maurice R S")
public class ComparatingUtils {

    private static final Logger logger = LoggerFactory.getLogger(ComparatingUtils.class);

    // Needs to be fixed
    public static void execCheck(Throwable t) {
        logger.error("An error occurred", t);
        t.printStackTrace();
        Throwable cause = t.getCause();
        while (cause != null) {
            cause.printStackTrace();
            cause = cause.getCause();
        }
    }
}

@@ -840,16 +840,41 @@
 utils;%0A%0A
+import io.sentry.Sentry;%0A
 import m
@@ -1056,398 +1056,77 @@
    p
-rivate static final Logger logger = LoggerFactory.getLogger(ComparatingUtils.class);%0A%0A    // Needs to be fixed%0A    public static void execCheck(Throwable t) %7B%0A        logger.error(%22An error occurred%22, t);%0A        t.printStackTrace();%0A        Throwable cause = t.getCause();%0A        while (cause != null) %7B%0A            cause.printStackTrace();%0A            cause = cause.getCause();%0A        %7D
+ublic static void execCheck(Throwable t) %7B%0A        Sentry.capture(t);
 %0A   

Make ComparatingUtils push to sentry