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