Skip to content

Commit

Permalink
Write deploy error to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Jul 29, 2018
1 parent 1d5da7d commit 2bdc799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/inertiad/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func upHandler(w http.ResponseWriter, r *http.Request) {

err = deploy()
if err != nil {
println(err.Error())
logger.WriteErr(err.Error(), http.StatusInternalServerError)
return
}
logger.WriteSuccess("Project startup initiated!", http.StatusCreated)
Expand Down

0 comments on commit 2bdc799

Please sign in to comment.