fix(Makefile): check for errors after controller

This must have been lost in a recent refactor.