Modification lors des sModuleError's
This commit is contained in:
parent
4f27a0f4f9
commit
2b71b30aed
|
@ -32,8 +32,10 @@
|
|||
$response = $request->dispatch();
|
||||
|
||||
// Si erreur, on l'affiche
|
||||
if( $response->error != ManagerError::Success )
|
||||
if( $response->error != ManagerError::Success ){
|
||||
var_dump( ManagerError::explicit($response->error) );
|
||||
exit();
|
||||
}
|
||||
|
||||
// On récupère les données
|
||||
$logs = $response->get('data');
|
||||
|
|
Loading…
Reference in New Issue