That doesn't solve the TODO.  The issue is that the error is not thrown anywhere the user can see. The "please throw bug report" would never get seen, so it's just as useless.