mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-23 01:06:17 +00:00
Stop execution if an error happens during database upgrades.
This commit is contained in:
parent
05dea702c3
commit
7e91ec092e
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user