Skip to content

Commit

Permalink
Adding try catch to see if the installer can work around it.
Browse files Browse the repository at this point in the history
  • Loading branch information
renemadsen committed Jan 28, 2019
1 parent 96eae4a commit 9472dc9
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 @@ -228,7 +228,14 @@ public static ActionResult InstallCA(Session session)
IncrementProgressBar(session);

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

IncrementProgressBar(session);

CopyProtectedData(session, webApiLocation);
Expand Down

0 comments on commit 9472dc9

Please sign in to comment.