We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4c1f6 commit fc00d29Copy full SHA for fc00d29
1 file changed
public/index.php
@@ -108,7 +108,11 @@
108
if ($globalToken === null) {
109
throw new Exception('Impossible de générer un token d\'accès global.');
110
}
111
- $apiWrapper->setClientDomain($globalToken->access_token);
+ try {
112
+ $apiWrapper->setClientDomain($globalToken->access_token);
113
+ } catch (Exception $e) {
114
+ $c->get('logger.api')->warning('Échec de la configuration du domaine client (non bloquant) : ' . $e->getMessage());
115
+ }
116
117
return $apiWrapper;
118
});
0 commit comments