You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/09/13 18:57:40 UTC

svn commit: r1523010 - /incubator/climate/trunk/ocw/dataset.py

Author: joyce
Date: Fri Sep 13 16:57:40 2013
New Revision: 1523010

URL: http://svn.apache.org/r1523010
Log:
Add logging of input validation exception raise

Modified:
    incubator/climate/trunk/ocw/dataset.py

Modified: incubator/climate/trunk/ocw/dataset.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/dataset.py?rev=1523010&r1=1523009&r2=1523010&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/dataset.py (original)
+++ incubator/climate/trunk/ocw/dataset.py Fri Sep 13 16:57:40 2013
@@ -170,6 +170,7 @@ Expected shape (%s, %s, %s) but received
                                                             values.shape[1],
                                                             values.shape[2])
         if err_msg:
+            logger.error(err_msg)
             raise ValueError(err_msg)