diff --git a/philosopher_example/philosophersAmasExample.py b/philosopher_example/philosophersAmasExample.py index 83fee56a53a2e390ae46a87885772736dd3dad36..513b8e31c52bc760d923531c4e11a43d2f95d038 100644 --- a/philosopher_example/philosophersAmasExample.py +++ b/philosopher_example/philosophersAmasExample.py @@ -35,4 +35,7 @@ class PhilosophersAmasExamples(Amas): self.__observer = observer def on_cycle_end(self): - self.__observer.updateCycle(self.get_environment(), self) + try: + self.__observer.updateCycle(self.get_environment(), self) + except: + print('trql trql')