@@ -40,7 +40,7 @@ func ConnectMSDB() {
host, user, password, port, dbname)
db, err := gorm.Open("mssql", connectionString)
if err != nil {
- panic("failed to connect database")
+ fmt.Println("failed to connect database")
}
db.LogMode(true)
db.CommonDB()