mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2025-08-18 17:06:50 +00:00
Stop execution if an error happens during database upgrades.
This commit is contained in:
@@ -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