Added ability to readback output from command line

Updated readme
This commit is contained in:
NotZippy
2018-10-24 10:23:09 -07:00
parent 87c9e56322
commit cdef0b75a8
4 changed files with 58 additions and 3 deletions

View File

@@ -231,6 +231,9 @@ func (h *Harness) Refresh() (err *utils.Error) {
h.app.Port = h.port
if err2 := h.app.Cmd(h.runMode).Start(h.config); err2 != nil {
utils.Logger.Error("Could not start application", "error", err2)
if err,k :=err2.(*utils.Error);k {
return err
}
return &utils.Error{
Title: "App failed to start up",
Description: err2.Error(),