Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IndexUpdateManager.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/IndexUpdateManager.cs b/IndexUpdateManager.cs
index 190b0bf..18971e8 100644
--- a/IndexUpdateManager.cs
+++ b/IndexUpdateManager.cs
@@ -91,8 +91,16 @@ namespace macdoc
public void PerformSearchIndexCreation ()
{
FireSearchIndexCreationEvent (true);
- RootTree.MakeSearchIndex ();
- RootTree.MakeIndex ();
+ try {
+ RootTree.MakeSearchIndex ();
+ } catch (Exception e) {
+ Logger.LogError ("Error making search index", e);
+ }
+ try {
+ RootTree.MakeIndex ();
+ } catch (Exception e) {
+ Logger.LogError ("Error making normal index", e);
+ }
IsFresh = true;
FireSearchIndexCreationEvent (false);
if (md5sums != null)