1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-31 23:16:22 -07:00

Remove "Verbosity" config field and rename "DebugMode" to "Verbose" for enabling command line output on errors

This commit is contained in:
Eggbertx 2023-12-27 17:07:33 -08:00
parent 138b41bf0a
commit 8e9543970a
9 changed files with 43 additions and 26 deletions

View file

@ -63,7 +63,7 @@ func SetupSQLString(query string, dbConn *GCDB) (string, error) {
}
prepared = strings.Join(arr, "")
case "sqlmock":
if config.GetDebugMode() {
if config.VerboseMode() {
prepared = query
break
}