Updated a few CLI files and Api.php
Forgot to set handleApiException to Api::