Revision: 2084
Author: jprantan
Date: Wed Jul 29 02:41:42 2009
Log: Applied patch from issue 314 for the problem malformed html file crashes the whole test execution.
http://code.google.com/p/robotframework/source/detail?r=2084

Modified:
 /trunk/src/robot/parsing/rawdata.py

=======================================
--- /trunk/src/robot/parsing/rawdata.py Sun Apr 19 13:26:54 2009
+++ /trunk/src/robot/parsing/rawdata.py Wed Jul 29 02:41:42 2009
@@ -68,7 +68,10 @@
     except KeyError:
         raise DataError("Unsupported file format '%s'" % ext)
     rawdata = TabularRawData(path, strip_comments)
-    reader.read(datafile, rawdata)
+    try:
+        reader.read(datafile, rawdata)
+    except:
+ raise DataError("Parsing '%s' failed: %s" % (path, utils.get_error_message()))
     return rawdata


Reply via email to