Is it really minimal reproducible example? Without
logger.Debug
you have no errors? Please provide "minimal" one. Maybe better idea would be to report bug directly (it looks like the bug).