ibdknox/Korma — pull request #61 by felideon (2012-05-08 05:20:20+00:00)
Title: Make handle-exception a bit more robust

Reason for this change is that getNextException may return null, so we don't want to call that on every SQL exception. The cond got a bit messy when adding this new condition, and it only had two branches to begin with.