Use correct exception object (fixes #149)