diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-10-29 14:02:42 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-10-29 14:02:42 +0000 |
commit | 34f5d388651728f7d87230d75d047232521496ee (patch) | |
tree | 89925f450b6c2f70f5ca4f09b31750c49d43b266 /src | |
parent | b9df45f3a508073dc30586934dcb17027bf7ff85 (diff) | |
download | bcfg2-34f5d388651728f7d87230d75d047232521496ee.tar.gz bcfg2-34f5d388651728f7d87230d75d047232521496ee.tar.bz2 bcfg2-34f5d388651728f7d87230d75d047232521496ee.zip |
print errors when they occur
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3878 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rwxr-xr-x | src/lib/Server/Reports/importscript.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Reports/importscript.py b/src/lib/Server/Reports/importscript.py index 195df751a..5f1011843 100755 --- a/src/lib/Server/Reports/importscript.py +++ b/src/lib/Server/Reports/importscript.py @@ -212,6 +212,7 @@ if __name__ == '__main__': cursor.execute("INSERT INTO "+tablename+"_interactions VALUES (NULL, %s, %s);", [item_id, current_interaction_id]) except: + print "interactions insert failed" pass for times in statistics.findall('OpStamps'): @@ -227,6 +228,7 @@ if __name__ == '__main__': cursor.execute("INSERT INTO reports_performance_interaction VALUES (NULL, %s, %s);", [item_id, current_interaction_id]) except: + print "perf insert failed" pass if (somewhatverbose or verbose): |