David Abrahams <dave <at> boostpro.com> writes:

> 
> 
> My only mods to that file are:
> 
>   +            try:
>   +                return self.cursor.execute(sql_escape_percent(sql), args)
>   +            except:
>   +                raise Exception, 'invalid sql:\n'+repr(sql) + '\n' + \
>   +                  repr(sql_escape_percent(sql)) + '\n' + repr(args)
>            return self.cursor.execute(sql)

You may want to see what the original exception message was:

try:
    return ...
except Exception, msg:
    raise .... + '\n' + msg






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to