log.error("Unhandled exception", e);

This commit is contained in:
TebbeUbben 2018-04-08 18:15:27 +02:00
parent d3342d13f5
commit 50458d1fbc

View file

@ -346,7 +346,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper {
try { try {
getDaoBgReadings().update(bgReading); getDaoBgReadings().update(bgReading);
} catch (SQLException e) { } catch (SQLException e) {
e.printStackTrace(); log.error("Unhandled exception", e);
} }
} }
@ -1234,7 +1234,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper {
try { try {
return getDaoCareportalEvents().queryForId(timestamp); return getDaoCareportalEvents().queryForId(timestamp);
} catch (SQLException e) { } catch (SQLException e) {
e.printStackTrace(); log.error("Unhandled exception", e);
} }
return null; return null;
} }