From 1a8ed2bb23dce405f619515f0d355724e308bffc Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 23 Oct 2024 15:33:27 +0100 Subject: [PATCH] Fix missing stacktrace --- .../persistence/serialization/TransferFileSerializer.kt | 2 +- .../src/main/java/de/cyface/synchronization/ErrorHandler.java | 4 ---- .../src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/persistence/src/main/kotlin/de/cyface/persistence/serialization/TransferFileSerializer.kt b/persistence/src/main/kotlin/de/cyface/persistence/serialization/TransferFileSerializer.kt index 39e3c125..679ccddd 100644 --- a/persistence/src/main/kotlin/de/cyface/persistence/serialization/TransferFileSerializer.kt +++ b/persistence/src/main/kotlin/de/cyface/persistence/serialization/TransferFileSerializer.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2023 Cyface GmbH + * Copyright 2019-2024 Cyface GmbH * * This file is part of the Cyface SDK for Android. * diff --git a/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java b/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java index be8b1d8b..7f464051 100644 --- a/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java +++ b/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java @@ -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 { @@ -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 { /** diff --git a/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt b/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt index 6faf5c49..ded61258 100644 --- a/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt +++ b/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt @@ -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