<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -43,15 +43,14 @@ Jim := Object clone do(
         setSlot(&quot;text&quot;, line afterSeq(&quot;:&quot;) afterSeq(&quot;:&quot;))
         case(text,
           (beginsWithSeq(Jim nick .. &quot;:&quot;), sendToChannel(sentChannel, text afterSeq(&quot;:&quot;)))
-          (beginsWithSeq(&quot;!&gt;&quot;),
-            what := text afterSeq(&quot;!&gt; &quot;)
-            if(Jim ?sx,
-              string := Jim sx doSandboxString(&quot;(&quot; .. what .. &quot;) asString&quot;) asString
-              sendToChannel(sentChannel, string),
-              Jim sx := Jim createSandbox
-              sendToChannel(sentChannel, &quot;Creating new sandbox&quot;)
-              string := Jim sx doSandboxString(&quot;(&quot; .. what .. &quot;) asString&quot;) asString
-              sendToChannel(sentChannel, string)
+          (beginsWithSeq(&quot;! &quot;),
+            what := text afterSeq(&quot;! &quot;)
+            if(Jim ?sx, nil, Jim sx := Jim createSandbox; sendToChannel(sentChannel, &quot;Creating new sandbox&quot;))
+            Jim sx doSandboxString(&quot;e := try(&quot; .. what .. &quot;)&quot;) asString
+            if(Jim sx doSandboxString(&quot;if(e ?error) asString&quot;) == &quot;true&quot;,
+              sendToChannel(sentChannel, &quot;Errored out. Reason: &quot; .. Jim sx doSandboxString(&quot;(e ?error) asString&quot;) asString)
+              if(Jim sx doSandboxString(&quot;if(e ?showStack, e showStack, false) asString&quot;) != &quot;false&quot;, sendToChannel(sentChannel, Jim sx doSandboxString(&quot;e showStack asString&quot;) asString)),
+              sendToChannel(sentChannel, sx doSandboxString(&quot;(&quot; .. what .. &quot;) asString&quot;) asString)
             )
           )
           (beginsWithSeq(&quot;!newSandbox&quot;), sendToChannel(sentChannel, &quot;Creating new sandbox&quot;); Jim sx := Jim createSandbox)
@@ -95,4 +94,4 @@ Object case := method(obj,
   )
 )
 
-Jim connect(&quot;Jimmmmmmm&quot;, &quot;irc.freenode.net&quot;, &quot;#fauna&quot;)
\ No newline at end of file
+Jim connect(&quot;Jimmmmmmm&quot;, &quot;irc.freenode.net&quot;, &quot;fauna&quot;)
\ No newline at end of file</diff>
      <filename>jim.io</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>90aa3fa24be13ec8e7b9660c9d354e98ec2491af</id>
    </parent>
  </parents>
  <author>
    <name>Ian Ownbey</name>
    <email>iownbey@notesake.com</email>
  </author>
  <url>http://github.com/iownbey/jim/commit/fc67a1cbecd82ec240b7d7bcef06310382d3e9a2</url>
  <id>fc67a1cbecd82ec240b7d7bcef06310382d3e9a2</id>
  <committed-date>2008-02-16T22:05:26-08:00</committed-date>
  <authored-date>2008-02-16T22:05:26-08:00</authored-date>
  <message>Got eval working with errors (almost)</message>
  <tree>cafa4ab292a4a7d4dfc23084e0e03713b668e1c5</tree>
  <committer>
    <name>Ian Ownbey</name>
    <email>iownbey@notesake.com</email>
  </committer>
</commit>
