1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

Add exception to GB.toast() to get it logged

This commit is contained in:
cpfeiffer 2015-10-25 00:13:32 +02:00
parent dd0ba8a230
commit 54c316778b

View File

@ -319,7 +319,7 @@ public class FetchActivityOperation extends AbstractBTLEOperation<MiBandSupport>
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();