panic(err) if err is InternalServerError