From 54c316778b82d72d96689927cc22e3ebabf0cbe2 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Sun, 25 Oct 2015 00:13:32 +0200 Subject: [PATCH] Add exception to GB.toast() to get it logged --- .../devices/miband/operations/FetchActivityOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/operations/FetchActivityOperation.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/operations/FetchActivityOperation.java index 489275bb8..e653efcb6 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/operations/FetchActivityOperation.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/operations/FetchActivityOperation.java @@ -319,7 +319,7 @@ public class FetchActivityOperation extends AbstractBTLEOperation activityStruct.bufferFlushed(minutes); } } catch (Exception ex) { - GB.toast(getContext(), ex.getMessage(), Toast.LENGTH_LONG, GB.ERROR); + GB.toast(getContext(), ex.getMessage(), Toast.LENGTH_LONG, GB.ERROR, ex); } finally { if (dbHandler != null) { dbHandler.release();