From 8231be4f628ca8c6f96b484b23ef12211d8a0f59 Mon Sep 17 00:00:00 2001
From: Antony Le Courtes <antony.lecourtes@unicaen.fr>
Date: Tue, 21 Sep 2021 10:21:33 +0200
Subject: [PATCH] =?UTF-8?q?R=C3=A9activation=20du=20contrat=20pour=20test?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/UnicaenSiham/Service/Siham.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/UnicaenSiham/Service/Siham.php b/src/UnicaenSiham/Service/Siham.php
index 63b960d..9b0ec26 100644
--- a/src/UnicaenSiham/Service/Siham.php
+++ b/src/UnicaenSiham/Service/Siham.php
@@ -829,10 +829,12 @@ class Siham
                     }
                 }
                 //Traitement du message d'erreur spécifique à la PEC
+                $this->sendDebug('WS PECWebService / METHOD PriseEnChargeAgent');
                 throw new SihamException($messageErreur, 0);
             } elseif ($result->return->statut == 'MAJ OK' && !empty($result->return->matricule)) {
                 return $result->return->matricule;
             } else {
+                $this->sendDebug('WS PECWebService / METHOD PriseEnChargeAgent');
                 throw new SihamException('Erreur non identifié, veuillez vous rapprocher du support informatique', 0);
             }
         } catch (\Exception $e) {
-- 
GitLab