<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -72,6 +72,7 @@ module Globalize
       end
       
       def localize(locale, object, format = :default)
+        ex = nil
         backends.each do |backend|
           begin
             result = backend.localize(locale, object, format) and return result
@@ -79,7 +80,7 @@ module Globalize
             ex = e
           end
         end
-        raise ex
+        raise ex if ex
       end
     
       def reload!</diff>
      <filename>lib/globalize/backend/chain.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4fba9f116e39b2cba7b3b614c8a2c9d7a195ae14</id>
    </parent>
  </parents>
  <author>
    <name>Mick Staugaard</name>
    <email>spam@staugaard.com</email>
  </author>
  <url>http://github.com/staugaard/globalize2/commit/2662a57c6d818230d9d9392e8c6cc96d23bbac7e</url>
  <id>2662a57c6d818230d9d9392e8c6cc96d23bbac7e</id>
  <committed-date>2009-01-26T06:44:06-08:00</committed-date>
  <authored-date>2009-01-26T06:44:06-08:00</authored-date>
  <message>fixing failing test</message>
  <tree>36c31bdbe79f6db0b4576984731ab08622225b0e</tree>
  <committer>
    <name>Mick Staugaard</name>
    <email>spam@staugaard.com</email>
  </committer>
</commit>
