Adding exception conversion to error 500