failed market buy 0.48 CADCHF [Market closed]

 

When I'm backtesting I sometimes see such logs in my Journal. Sometimes the date and time given is in the middle of a week, not a weekend? Is this a form of a bug and if so, is there a fix?

2023.11.13 12:15:33.356 2023.03.28 00:04:00 failed market buy 0.48 CADCHF [Market closed]
 
The market is closed during rollover time for about 5-30 minutes in all/most brokers every day and not only on the weekend.