Commit c349c980 authored by Lucas Nussbaum's avatar Lucas Nussbaum

upstream: more verbose when handling exceptions

parent 4875edb8
......@@ -157,7 +157,12 @@ where release in ('sid', 'experimental') except select source, version, distribu
watch, signingkeypgp, signingkeyasc = get_watch(e['source'], e['version'], e['component'])
next if e['source'] == 'python-amqp' and e['version'] == '2.4.2-1' # bug in python-amqp #925389
mutex.synchronize do
db.exec_prepared('upstream_insert', [ e['source'], e['version'], e['distribution'], e['release'], e['component'], watch, signingkeypgp, signingkeyasc, nil] )
begin
db.exec_prepared('upstream_insert', [ e['source'], e['version'], e['distribution'], e['release'], e['component'], watch, signingkeypgp, signingkeyasc, nil] )
rescue
puts "Exception when inserting watch file information for #{e['source']} #{e['version']}"
raise
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment