Remove unnecesary catch
This commit is contained in:
parent
0454ad908e
commit
88fa0a6309
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user