roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r514151 - /incubator/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetManagerImpl.java
Date Sat, 03 Mar 2007 13:02:33 GMT
Author: snoopdave
Date: Sat Mar  3 05:02:33 2007
New Revision: 514151

URL: http://svn.apache.org/viewvc?view=rev&rev=514151
Log:
Include cache dir path in cache dir error message

Modified:
    incubator/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetManagerImpl.java

Modified: incubator/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetManagerImpl.java?view=diff&rev=514151&r1=514150&r2=514151
==============================================================================
--- incubator/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetManagerImpl.java
(original)
+++ incubator/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetManagerImpl.java
Sat Mar  3 05:02:33 2007
@@ -440,13 +440,13 @@
             cacheDir = new File(cacheDirName);
             if (!cacheDir.exists()) cacheDir.mkdirs();
         } catch (Exception e) {
-            log.error("Unable to create planet cache directory");
+            log.error("Unable to create planet cache directory: " + cacheDir.getPath(), e);
             return;
         }
         
         // abort if cache dir is not writable
         if (!cacheDir.canWrite()) {
-            log.error("Planet cache directory is not writable");
+            log.error("Planet cache directory is not writable: " + cacheDir.getPath());
             return;
         }
         



Mime
View raw message