Methodize status message handling
This commit is contained in:
@@ -150,8 +150,7 @@ namespace MileageTraker.Web.Controllers
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TempData["StatusMessage"] = "Problem reading document: " + ex.Message;
|
||||
TempData["StatusMessage-Type"] = "alert-error";
|
||||
SetStatusMessage("Problem reading document: " + ex.Message, StatusType.Error);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user