Author: metskem
Date: Tue Nov  4 11:06:51 2008
New Revision: 711359

URL: http://svn.apache.org/viewvc?rev=711359&view=rev
Log:
small update to patch for JSPWIKI-411

Modified:
    
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java

Modified: 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java?rev=711359&r1=711358&r2=711359&view=diff
==============================================================================
--- 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java
 (original)
+++ 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java
 Tue Nov  4 11:06:51 2008
@@ -219,9 +219,9 @@
                                                                                
  WikiProvider.LATEST_VERSION );
                             luceneIndexPage( page, text, writer );
                         }
-                        catch( Exception e )
+                        catch( IOException e )
                         {
-                            log.info("Unable to index page, continuing to 
next: "+page.getName(),e );
+                            log.warn( "Unable to index page " + page.getName() 
+ ", continuing to next ", e );
                         }
                     }
 
@@ -236,9 +236,9 @@
                                                                 
WikiProvider.LATEST_VERSION );
                             luceneIndexPage( att, text, writer );
                         }
-                        catch( Exception e )
+                        catch( IOException e )
                         {
-                            log.info("Unable to index attachment, continuing 
to next: "+att.getName(),e );                            
+                            log.warn( "Unable to index attachment " + 
att.getName() + ", continuing to next", e );
                         }
                     }
 


Reply via email to