Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
RichDom2185 committed Aug 18, 2023
1 parent 487cc93 commit e48b4a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ func main() {
}
// Remember to close the connection
defer (func() {
// Ignore non-critical error
dbName, _ := getDBName(dbConn)
fmt.Println(blueSandwich, "Closing connection with database", dbName+".")
fmt.Println(blueSandwich, "Closing connection...")
database.Close(dbConn)
})()

Expand Down

0 comments on commit e48b4a8

Please sign in to comment.