package com.doverfuelingsolutions.issp.utils.crash

import com.doverfuelingsolutions.issp.utils.log.DFSLog

class DFSUncaughtExceptionHandler(private val defaultHandler: Thread.UncaughtExceptionHandler?) : Thread.UncaughtExceptionHandler {

    override fun uncaughtException(t: Thread, e: Throwable) {
        DFSLog.e("APP crashed", e)
        defaultHandler?.uncaughtException(t, e)
    }
}