Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 57975
Status: resolved
Priority: 0/
Queue: Mouse

People
Owner: Nobody in particular
Requestors: spang@mit.edu (no email address)
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.58
  • 0.59
Fixed in: (no value)



Subject: "Exception caught:" prefixes on "re-thrown" exceptions
Prophet sometimes throws user-facing exceptions from default methods, such as when it couldn't parse a database URI schema. In Mouse 0.58, xs-src/MouseUtil.xs added the words "Exception caught:" to some code involved in throwing these exceptions, which ends up in these default method messages being prefixed with "Exception caught:" in Prophet, sometimes more than once. Since these messages are meant for the user, this is ugly and confusing. Is there a way to work around this in Prophet's Mouse-using code? Or can the prefixing be removed? I couldn't tell from the commit message on 8fcdb997 what the purpose of the changing of the message in these exception re-throws was. (Perhaps an IRC channel would have been a better avenue to bring this up since I'm not sure if it's your bug or mine, but I couldn't find a pointer to one.)
Hi, I agree with you. The prefix "Exception caought" seems harmful and no one wants it. I will remove it from exceptions. -- Goro Fuji (gfx) GFUJI at CPAN.org
Thanks for reporting this. This issue has been resolved. -- Goro Fuji (gfx) GFUJI at CPAN.org