Controller::init() mechanism is poor
Closed this issue · 2 comments
makeusabrew commented
need to refactor this logic - simply returning "OK" is very flimsy - and the mechanism to handle anything !== "OK" is too crude. Should have some way of instead flagging that init has failed and setting an appropriate alternative response.
makeusabrew commented
Duh - throw an exception
makeusabrew commented
refactoring controller init to throw exception, closed by 7811394