Skip to content

Commit

Permalink
hotfix(cli) do not throw an error if err is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Sep 2, 2016
1 parent cf85452 commit c2a927a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kong/cmd/start.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ local function execute(args)
log.verbose("stopped services")
end)

error(err) -- report to main error handler
if err then
error(err) -- report to main error handler
end
end

local lapp = [[
Expand Down

0 comments on commit c2a927a

Please sign in to comment.