You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for your project,
i recently switched fro python-mysql to pymysql using sqlalchemy.
and some of my exception had loose some really helpfull details.
like before :
InvalidRequestError("This Session's transaction has been rolled back due to a previous exception
during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original
exception was: UPDATE statement on table 'XXXX' expected to update 1 row(s); 0 were matched.",)
After:
InvalidRequestError("This Session's transaction has been rolled back due to a previous exception
during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original
exception was: 'ProtocolError' object has no attribute 'translate'",)
it would be really helpfull to have those details back :)
Many Thanks
The text was updated successfully, but these errors were encountered:
Hi,
thanks for your project,
i recently switched fro python-mysql to pymysql using sqlalchemy.
and some of my exception had loose some really helpfull details.
like before :
After:
it would be really helpfull to have those details back :)
Many Thanks
The text was updated successfully, but these errors were encountered: