From mboxrd@z Thu Jan 1 00:00:00 1970 From: bwalton@artsci.utoronto.ca (Ben Walton) Date: Sat, 05 Sep 2009 15:08:52 -0400 Subject: [sup-talk] new exception Message-ID: <1252177626-sup-316@ntdws12.chass.utoronto.ca> This attached exception log was generated after sending a reply, before the inbox buffer was redisplayed. I have the following small modifications to 99e62d55 included (still required for importing to xapian in my case): --snip-- - raise ArgumentError, "expecting a symbol" unless t.is_a? Symbol + t = t.intern if t.is_a? String + + unless t.is_a? Symbol + m = "expecting a symbol, got a #{t.class} (#{t.to_s})" + raise ArgumentError, m + end + --snip-- Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu Contact me to arrange for a CAcert assurance meeting. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: exception-log.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: