Skip to content

Commit bf01556

Browse files
committed
Adding messagebox to tell us what is going wrong.
1 parent 027d02d commit bf01556

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

eFormAPI/Installation/CustomActions/CustomAction.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,20 @@ public static ActionResult UpdateCA(Session session)
440440
try
441441
{
442442
BackupPluginSettings(session, uiIisDir);
443+
}
444+
catch (Exception ex)
445+
{
446+
MessageBox.Show("We got an exception trying to do backup " + ex.Message);
447+
}
448+
449+
try
450+
{
443451
DeleteDirectory(Path.Combine(uiIisDir, "src"));
444452
}
445-
catch { }
453+
catch (Exception ex)
454+
{
455+
MessageBox.Show("We got an exception trying to delete folder src " + ex.Message);
456+
}
446457

447458
session.Log("Set proper names to folders");
448459

0 commit comments

Comments
 (0)