Fixing some merge conflicts with structured logging. (#8685)

This commit is contained in:
Christopher Speller
2018-04-27 13:31:50 -07:00
committed by GitHub
parent 686c2fbab7
commit 2e6b3da1d3
2 changed files with 2 additions and 10 deletions

View File

@@ -374,7 +374,7 @@ func (ss *SqlSupplier) DoesTableExist(tableName string) bool {
)
if err != nil {
l4g.Critical(utils.T("store.sql.table_exists.critical"), err)
mlog.Critical(fmt.Sprintf("Failed to check if table exists %v", err))
time.Sleep(time.Second)
os.Exit(EXIT_TABLE_EXISTS_SQLITE)
}
@@ -444,7 +444,7 @@ func (ss *SqlSupplier) DoesColumnExist(tableName string, columnName string) bool
)
if err != nil {
l4g.Critical(utils.T("store.sql.column_exists.critical"), err)
mlog.Critical(fmt.Sprintf("Failed to check if column exists %v", err))
time.Sleep(time.Second)
os.Exit(EXIT_DOES_COLUMN_EXISTS_SQLITE)
}