mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 18:45:49 +01:00
Add exception to GB.toast() to get it logged
This commit is contained in:
parent
dd0ba8a230
commit
54c316778b
@ -319,7 +319,7 @@ public class FetchActivityOperation extends AbstractBTLEOperation<MiBandSupport>
|
|||||||
activityStruct.bufferFlushed(minutes);
|
activityStruct.bufferFlushed(minutes);
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} 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 {
|
} finally {
|
||||||
if (dbHandler != null) {
|
if (dbHandler != null) {
|
||||||
dbHandler.release();
|
dbHandler.release();
|
||||||
|
Loading…
Reference in New Issue
Block a user