@@ -41,6 +41,8 @@ func ConnectMSDB() {
db, err := gorm.Open("mssql", connectionString)
if err != nil {
fmt.Println("failed to connect database")
+ fmt.Println(err)
+
}
db.LogMode(true)
db.CommonDB()