removing comment

This commit is contained in:
Julien Neuhart
2019-09-30 14:51:49 +02:00
parent 1b4c435900
commit f6729834b6

View File

@@ -27,12 +27,13 @@ func main() {
} }
systemLogger.InfofOp(op, "Gotenberg %s", version) systemLogger.InfofOp(op, "Gotenberg %s", version)
systemLogger.DebugfOp(op, "configuration: %+v", config) systemLogger.DebugfOp(op, "configuration: %+v", config)
if !config.DisableGoogleChrome() {
// start Google Chrome. // start Google Chrome.
// TODO kill proc.
_, err = chrome.Start(context.Background(), systemLogger) _, err = chrome.Start(context.Background(), systemLogger)
if err != nil { if err != nil {
systemLogger.FatalOp(op, err) systemLogger.FatalOp(op, err)
} }
}
// create our API. // create our API.
srv := xhttp.New(config) srv := xhttp.New(config)
// run our API in a goroutine so that it doesn't block. // run our API in a goroutine so that it doesn't block.