diff --git a/lflex_celcat_survival/events.py b/lflex_celcat_survival/events.py index 5ae5ee29626b9e75d6927993cbf47686139fe203..032faf7396f9b18afd65858e2c248253d6093b1e 100644 --- a/lflex_celcat_survival/events.py +++ b/lflex_celcat_survival/events.py @@ -54,6 +54,11 @@ class FilteredCelcatEvents: logging.warning('The number of time slots fetched from CELCAT does not match the expected number of time slots for some courses') logging.warning(f'\n{fetch_problem_df}') + logging.warning('\nDetails of the involved time slots:') + problematic_courses = fetch_problem_df[['course_request_id']] + problematic_time_slots = problematic_courses.merge(self.df, how='inner', on='course_request_id') + logging.warning(f'\n{problematic_time_slots}') + def parse_description(row): ''' Expecting an HTML text with this information, separated by HTML/CRCF line breaks: