mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
*Remove* debug line
This commit is contained in:
parent
976a1c8d50
commit
a5178dc78f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export function connect() {
|
||||||
connectionPromise = createConnection().then(newConnection => {
|
connectionPromise = createConnection().then(newConnection => {
|
||||||
// Verify the DB timezone is set to UTC
|
// Verify the DB timezone is set to UTC
|
||||||
return newConnection.query("SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP) AS tz").then(r => {
|
return newConnection.query("SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP) AS tz").then(r => {
|
||||||
if (r[0].tz !== "00:00:00" || true) {
|
if (r[0].tz !== "00:00:00") {
|
||||||
throw new SimpleError(`Database timezone must be UTC (detected ${r[0].tz})`);
|
throw new SimpleError(`Database timezone must be UTC (detected ${r[0].tz})`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue