py api was raising SystemError exception incorrectly, this is intended for internal...
[blender.git] / source / blender / python / intern / bpy_util.c
index 0e030170a25a4ec801364a37dd18e912500d98d5..63a397769c3957bf22dde5ee5b6d3098ea805c15 100644 (file)
@@ -151,7 +151,7 @@ short BPy_reports_to_error(ReportList *reports, const short clear)
        }
 
        if(report_str) {
-               PyErr_SetString(PyExc_SystemError, report_str);
+               PyErr_SetString(PyExc_RuntimeError, report_str);
                MEM_freeN(report_str);
        }