显示导入中的错误信息

This commit is contained in:
wlx 2010-01-07 10:24:23 +00:00
parent 99ffd67607
commit 51756e0c72
1 changed files with 2 additions and 1 deletions

View File

@ -849,6 +849,7 @@ class Admin_DataController extends Zend_Controller_Action
$iso->save("../data/import/$iso->uuid.xml"); $iso->save("../data/import/$iso->uuid.xml");
} catch (Exception $e) { } catch (Exception $e) {
//数据重复插入,此处忽略所有错误 //数据重复插入,此处忽略所有错误
print $iso->uuid.' has error: '.$e->getMessage().'<br />';
} }
} }
} }