override fun error()

in src/main/kotlin/com/compiler/server/compiler/components/CompilationLogger.kt [38:43]


    override fun error(msg: String, throwable: Throwable?) {
        if (isDebugEnabled) println("[ERROR] $msg" + (throwable?.let { ": ${it.message}" } ?: ""))
        try {
            addCompilationLog(msg, ProjectSeveriry.ERROR, classNameOverride = null)
        } catch (_: Exception) {}
    }