Catch Panda.resolve exceptions correctly. Fixes GH-32