Better debug output

This commit is contained in:
Dane Everitt
2019-12-21 21:03:57 -08:00
parent 189289ad5f
commit 536038967a
2 changed files with 5 additions and 4 deletions

View File

@@ -454,6 +454,7 @@ func (rt *Router) routeCreateServer(w http.ResponseWriter, r *http.Request, ps h
// Begin the installation process in the background to not block the request
// cycle. If there are any errors they will be logged and communicated back
// to the Panel where a reinstall may take place.
zap.S().Infow("beginning installation process for server", zap.String("server", inst.Uuid()))
go inst.Execute()
w.WriteHeader(http.StatusAccepted)