Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix missing report to crashlogger
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Mar 5, 2020
1 parent bcd63ac commit 45c5dee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/com/geeksville/android/Logging.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.geeksville.android

import android.util.Log
import com.geeksville.util.Exceptions

/**
* Created by kevinh on 12/24/14.
Expand Down Expand Up @@ -53,6 +54,6 @@ interface Logging {

/// Report an error (including messaging our crash reporter service if allowed
fun reportError(s: String) {
errormsg(s) // FIXME also report
Exceptions.report(Exception("logging reportError"), s)
}
}

0 comments on commit 45c5dee

Please sign in to comment.