<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -365,7 +365,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /usr/bin/ruby;
-			shellScript = &quot;# git-bundle-version.rb - Append short Git revision to CFBundleVersion in Info.plist\n#\n# THIS SCRIPT EXPECTS TO BE RUN FROM XCODE AS A RUN SCRIPT PHASE TO A BUILD TARGET\n#\n# Copyright 2008 Stateful Labs &lt;mark@stateful.net&gt;\n# All rights reserved.\n \nrequire 'fileutils'\n \n# Specify path to git executable\ngit_bin = \&quot;/usr/local/git/bin/git\&quot;\n \nrev = `#{git_bin} log --abbrev-commit --pretty=oneline | head -1 | cut -f1 -d'.'`.gsub(\&quot;\\n\&quot;,\&quot;\&quot;)\nfile = \&quot;#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['INFOPLIST_PATH']}\&quot;\n \nFile.open(file, 'r+') do |f|\n  lines = f.readlines\n  lines.each do |it|\n    it.gsub!(/GIT/, rev)\n  end\n  f.pos = 0\n  f.print lines\n  f.truncate(f.pos)\nend\n&quot;;
+			shellScript = &quot;# git-bundle-version.rb - Append short Git revision to CFBundleVersion in Info.plist\n#\n# THIS SCRIPT EXPECTS TO BE RUN FROM XCODE AS A RUN SCRIPT PHASE TO A BUILD TARGET\n#\n# Copyright 2008 Stateful Labs &lt;mark@stateful.net&gt;\n# All rights reserved.\n \nrequire 'fileutils'\n \n# Specify path to git executable\ngit_bin = \&quot;/usr/bin/env git\&quot;\n\nrev = `#{git_bin} log --abbrev-commit --pretty=oneline | head -1 | cut -f1 -d'.'`.gsub(\&quot;\\n\&quot;,\&quot;\&quot;)\nfile = \&quot;#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['INFOPLIST_PATH']}\&quot;\n \nFile.open(file, 'r+') do |f|\n  lines = f.readlines\n  lines.each do |it|\n    it.gsub!(/GIT/, rev)\n  end\n  f.pos = 0\n  f.print lines\n  f.truncate(f.pos)\nend\n&quot;;
 		};
 /* End PBXShellScriptBuildPhase section */
 </diff>
      <filename>Croak.xcodeproj/project.pbxproj</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>English.lproj/InfoPlist.strings</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,7 @@
 	&lt;key&gt;CFBundleSignature&lt;/key&gt;
 	&lt;string&gt;roCr&lt;/string&gt;
 	&lt;key&gt;CFBundleVersion&lt;/key&gt;
-	&lt;string&gt;0.3 (rev-GIT)&lt;/string&gt;
+	&lt;string&gt;0.4 (rev-GIT)&lt;/string&gt;
 	&lt;key&gt;NSMainNibFile&lt;/key&gt;
 	&lt;string&gt;MainMenu&lt;/string&gt;
 	&lt;key&gt;NSPrincipalClass&lt;/key&gt;
@@ -23,7 +23,7 @@
 	&lt;key&gt;CFBundleIdentifier&lt;/key&gt;
 	&lt;string&gt;com.roobasoft.CroakApp&lt;/string&gt;
 	&lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
-	&lt;string&gt;0.3&lt;/string&gt;
+	&lt;string&gt;0.4&lt;/string&gt;
 	&lt;key&gt;NSUIElement&lt;/key&gt;
 	&lt;string&gt;1&lt;/string&gt;
 &lt;/dict&gt;</diff>
      <filename>Info.plist</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>Resources/Croak.icns</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>Resources/green_frog.gif</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>Resources/grey_frog.gif</filename>
    </modified>
    <modified>
      <diff>@@ -53,7 +53,10 @@ class ApplicationController &lt; NSObject
   def show_errors(timer = nil, user_info = nil)
     begin # thread
       NSLog(&quot;Refreshing...&quot;)
-      @croak_controller.refresh_errors
+      begin
+        @croak_controller.refresh_errors
+      rescue SocketError =&gt; e
+      end
       
       NSTimer.scheduledTimerWithTimeInterval_target_selector_userInfo_repeats(
         NSUserDefaults.standardUserDefaults.objectForKey( ApplicationController::PREF_REFRESH_SECONDS).integerValue,</diff>
      <filename>controllers/ApplicationController.rb</filename>
    </modified>
    <modified>
      <diff>@@ -42,6 +42,11 @@ class CroakController &lt; NSObject
   end
   
   def error(index)
-    @errors_array_controller.arrangedObjects.objectAtIndex(index)
+    objs = @errors_array_controller.arrangedObjects
+    if objs.count &gt; index
+      objs.objectAtIndex(index) 
+    else
+      nil
+    end
   end
 end</diff>
      <filename>controllers/CroakController.rb</filename>
    </modified>
    <modified>
      <diff>@@ -50,6 +50,9 @@ class WindowController &lt; NSObject
   
   def viewErrorOnWeb(sender)
     err = @croak_controller.error(@errors_table_view.selectedRow)
+    
+    return if err.nil?
+    
     NSWorkspace.sharedWorkspace.openURL(NSURL.URLWithString(&quot;http://makalumedia.hoptoadapp.com/errors/#{err[:id]}&quot;));
     toggle_croaks(self)
   end</diff>
      <filename>controllers/WindowController.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>69817b4911d300ed30e0481b291ab0f93819f448</id>
    </parent>
  </parents>
  <author>
    <name>Brian Cooke</name>
    <email>bcooke@roobasoft.com</email>
  </author>
  <url>http://github.com/bricooke/croak-app/commit/5d26b2a0dd41322f16b661a90f6b844a0ecf271c</url>
  <id>5d26b2a0dd41322f16b661a90f6b844a0ecf271c</id>
  <committed-date>2008-09-04T05:52:01-07:00</committed-date>
  <authored-date>2008-09-04T05:52:01-07:00</authored-date>
  <message>new icons. bump rev. remove threads. exception case.</message>
  <tree>dd632065a386743ba9cbc664925bceb1d123bee0</tree>
  <committer>
    <name>Brian Cooke</name>
    <email>bcooke@roobasoft.com</email>
  </committer>
</commit>
