Skip to content

Commit 9472dc9

Browse files
committed
Adding try catch to see if the installer can work around it.
1 parent 96eae4a commit 9472dc9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: eFormAPI/Installation/CustomActions/CustomAction.cs

+8-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,14 @@ public static ActionResult InstallCA(Session session)
228228
IncrementProgressBar(session);
229229

230230
session.Log("Host WebAPI called");
231-
AddImageHandlers(webApiName, webApiLocation);
231+
try {
232+
AddImageHandlers(webApiName, webApiLocation);
233+
}
234+
catch (Exception ex)
235+
{
236+
MessageBox.Show(ex.Message + " " + ex.StackTrace);
237+
}
238+
232239
IncrementProgressBar(session);
233240

234241
CopyProtectedData(session, webApiLocation);

0 commit comments

Comments
 (0)