debug
This commit is contained in:
parent
b851826a9b
commit
69758aead6
|
@ -35,14 +35,14 @@
|
|||
|
||||
/* (2) Gestion erreur */
|
||||
if( $request->error->get() != Err::Success )
|
||||
return ['error' => new Error(Err::ModuleError)];
|
||||
return ['error' => $request->error];
|
||||
|
||||
/* (3) Exécution */
|
||||
$response = $request->dispatch();
|
||||
|
||||
/* (4) Gestion erreur */
|
||||
if( $response->error->get() != Err::Success )
|
||||
return ['error' => new Error(Err::ModuleError)];
|
||||
return ['error' => $response->error];
|
||||
|
||||
/* (5) Remontée du résultat */
|
||||
return [
|
||||
|
|
|
@ -527,7 +527,7 @@
|
|||
|
||||
/* (4) Gestion erreur */
|
||||
if( $dispatch_feat_res->error->get() != Err::Success )
|
||||
continue;
|
||||
$features[$etree_name]['err'] = $dispatch_feat_res->error->get();
|
||||
|
||||
/* (5) Enregistrement des données */
|
||||
$features[$etree_name] = $dispatch_feat_res->get('data');
|
||||
|
@ -539,8 +539,8 @@
|
|||
/* [N] Retourne les données
|
||||
=========================================================*/
|
||||
return [
|
||||
'etrees' => $etrees,
|
||||
'features' => $features
|
||||
'etrees' => $etrees,
|
||||
'feature' => $features
|
||||
];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue