Silex error handling in Json Format
Catch http error automaticaly