Source

trac-gviz / trac-dev / gviz / tracgviz / util.py

Diff from to

File trac-dev/gviz/tracgviz/util.py

 from api import IGVizProtocolHandler, IGVizTableEncoder, \
                 IGVizDataProvider, IHashLibrary, GVizBadRequestError, \
                 GVizInvalidConfigError
-from testing.util import dummy_request
+from tracgviz.testing.util import dummy_request
 
 __metaclass__ = type
 
               cur_pr, _ = hlib.get_hash_properties(hash_name)
             except TypeError:
               self.log.debug("IG: %s doesnt support '%s'", hlib, hash_name)
+            except :
+              self.log.exception('IG: Error processing %s', hlib)
+              raise
             else:
               if cur_pr > pr:
                 self._hlib = hlib
           except GVizInvalidConfigError, exc:
             self.log.warning("IG: Hash method '%s' lib '%s' failed: %s", \
                               hash_name, self._hlib, str(exc))
+          except :
+            self.log.exception('IG: Error creating hash using %s', hlib)
+            raise
         else:
           self.log.info("IG: Hash method 'None'")