mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2026-09-30 08:02:49 +00:00
Stop execution if an error happens during database upgrades.
This commit is contained in:
1 parent
05dea702c3
commit
7e91ec092e
1 file changed
+1
-1
@@ -240,7 +240,7 @@ public class Database {
|
|||||||
|
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
System.out.println(e.getSQLState());
|
System.out.println(e.getSQLState());
|
||||||
e.printStackTrace();
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user