raise error instead of exit