Throw AssertionError instead of logging and trying to recover