Revision: 3874
Author: pekka.klarck
Date: Mon Aug 23 09:00:44 2010
Log: i don't know why there's special exception for handling invalid xml
data but at least it should use same rc as 'normal' invalid data
http://code.google.com/p/robotframework/source/detail?r=3874
Modified:
/trunk/src/robot/__init__.py
=======================================
--- /trunk/src/robot/__init__.py Mon May 31 05:21:54 2010
+++ /trunk/src/robot/__init__.py Mon Aug 23 09:00:44 2010
@@ -61,7 +61,7 @@
except DataError:
_exit(DATA_ERROR, *utils.get_error_details())
except XmlParsingError, error:
- _exit(FRAMEWORK_ERROR, utils.unic(error), error.traceback)
+ _exit(DATA_ERROR, utils.unic(error), error.traceback)
except (KeyboardInterrupt, SystemExit):
_exit(STOPPED_BY_USER, 'Execution stopped by user.')
except: