Skip to content

Commit

Permalink
Adding more try catch.
Browse files Browse the repository at this point in the history
  • Loading branch information
renemadsen committed Jan 28, 2019
1 parent 9472dc9 commit 1a98af0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion eFormAPI/Installation/CustomActions/CustomAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,14 @@ public static ActionResult UpdateCA(Session session)
IncrementProgressBar(session);

session.Log("AddImageHandlers called");
AddImageHandlers(webApiName, webApiLocation);
try
{
AddImageHandlers(webApiName, webApiLocation);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + " " + ex.StackTrace);
}
AddAspNetCoreSection(webApiName, webApiLocation);

IncrementProgressBar(session);
Expand Down

0 comments on commit 1a98af0

Please sign in to comment.