Skip to content

Commit

Permalink
Fix missing stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Oct 23, 2024
1 parent a9f7789 commit 1a8ed2b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019-2023 Cyface GmbH
* Copyright 2019-2024 Cyface GmbH
*
* This file is part of the Cyface SDK for Android.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ public void onReceive(final Context context, final Intent intent) {
* A list of known Errors which are thrown by the Cyface SDK.
*
* @author Armin Schnabel
* @version 1.3.0
* @since 1.0.0
*/
public enum ErrorCode {

Expand Down Expand Up @@ -273,8 +271,6 @@ public static ErrorCode getValueForCode(final int code) {
* Interface for listeners receiving errors.
*
* @author Armin Schnabel
* @version 1.0.0
* @since 1.0.0
*/
public interface ErrorListener {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class SyncAdapter private constructor(
syncResult: SyncResult,
fromBackground: Boolean
) {
Log.w(TAG, e.javaClass.simpleName + ": " + e.message)
Log.w(TAG, e.javaClass.simpleName + ": " + e.message, e)
when (e) {
is CursorIsNullException -> {
syncResult.databaseError = true
Expand Down

0 comments on commit 1a8ed2b

Please sign in to comment.