--- a/main.go Sat Jan 06 23:32:30 2018 -0600
+++ b/main.go Sat Jan 06 23:47:59 2018 -0600
@@ -72,6 +72,13 @@
+ if err := logging.Setup(*color, *verbose); err != nil { + fmt.Printf("failed to setup logging: %s\n", err) + defer gomol.ShutdownLoggers() @@ -112,13 +119,6 @@
- if err := logging.Setup(*color, *verbose); err != nil {
- fmt.Printf("failed to setup logging: %s\n", err)
- defer gomol.ShutdownLoggers()
// find our default environment variables and then update them with the
// values from the command line
defEnv, err := environment.Initialize(cfgPath)