Remove unnecesary catch

This commit is contained in:
Unai Zorrilla Castro 2018-05-22 15:34:24 +02:00
parent 0454ad908e
commit 88fa0a6309

View File

@ -56,10 +56,8 @@ namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{ {
ModelState.AddModelError("Error", "It was not possible to create a new order, please try later on. (Business Msg Due to Circuit-Breaker)"); ModelState.AddModelError("Error", "It was not possible to create a new order, please try later on. (Business Msg Due to Circuit-Breaker)");
} }
catch (Exception ex)
{ return View("Create", model);
}
return View("Create", model);
} }
public async Task<IActionResult> Cancel(string orderId) public async Task<IActionResult> Cancel(string orderId)