Move warning message in RuntimeError