removed logging when throwing