gmucsn / mTree

Computational Experimental Economics Platform
5 stars 2 forks source link

reminder message error not getting logged to exceptions log #96

Open nalinbhatt opened 2 years ago

nalinbhatt commented 2 years ago

Problem

Currently if there is an error in the self.reminder() message it gets logged to the .log file instead of the exception log. I think I made an error in setting up the reminder message to the correct party and the following was the output in the very last line of my .log file.

1661815353.3622725  MES CRASHING - EXCEPTION FOLLOWS
1661815353.486918       Source Message: WakeupMessage(0:00:10, <Message Sender: , Recipients: , Directive: get_block, Content: None>)
1661815353.545109   Traceback (most recent call last):    File "/mtree/mTree/microeconomic_system/institution.py", line 221, in receiveMessage      directive_handler(self, wakeup_message)  TypeError: 'NoneType' object is not callable

Also mTree stops logging and doesn't report it excepted and when you do a check_status in the docker shell you get the following error Screen Shot 2022-08-29 at 4 30 51 PM