<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1172: Remove all try: except: blocks that don't re-raise the original exception</title>
    <link>http://localhost/ticket/1172</link>
    <description>&lt;p&gt;
The current codebase has one or two try: except; blocks that don't catch specific exceptions. Under no circumstances should any broad try: except: blocks be allowed unless the exceptions they catch are immediately re-raised. Uncaught exceptions are wasting us quite a lot of time when trying to track down problems.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1172</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>thejimmyg</dc:creator>

      <pubDate>Fri, 08 Jul 2011 13:47:59 GMT</pubDate>
      <title>milestone deleted</title>
      <link>http://localhost/ticket/1172#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1172#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                &lt;em&gt;ckan-v1.5&lt;/em&gt; deleted
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Wed, 10 Aug 2011 15:48:52 GMT</pubDate>
      <title>owner, status changed</title>
      <link>http://localhost/ticket/1172#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1172#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;thejimmyg&lt;/em&gt; to &lt;em&gt;dread&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I've started this on branch defect-1172-exceptions
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Tue, 23 Aug 2011 16:51:21 GMT</pubDate>
      <title>status changed; resolution, milestone set</title>
      <link>http://localhost/ticket/1172#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1172#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;ckan-current-sprint&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Is in cset:47225f03e2af and merged to default for 1.4.4.
&lt;/p&gt;
&lt;p&gt;
It now barfs instead of failing silently:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;if the ckan config file has any errors
&lt;/li&gt;&lt;li&gt;search indexing error
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
There are some other "except Exception" statements
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Tue, 23 Aug 2011 17:01:23 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1172#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1172#comment:4</guid>
      <description>
        &lt;p&gt;
I took out "raise" by mistake in ckan/lib/search/worker.py:26 but John has added it in in the corresponding place in ckan/lib/search/&lt;span class="underline"&gt;init&lt;/span&gt;.py on branch feature-1275-solr-search anyway.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>