Don't silence DB errors

Bug #1788677 reported by Witaut Bajaryn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Unassigned

Bug Description

Currently, if a unique constraint violation happens, the error does not contain any useful information, and the original error message isn't logged.

Make the errors contain the original error message from the database and/or log that message.

Witaut Bajaryn (vozhyk-)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45737
Submitter: Witaut Bajaryn (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45737
Committed: http://github.com/Juniper/contrail/commit/b20190829cbfef9ecedc8e987fb616a982166965
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit b20190829cbfef9ecedc8e987fb616a982166965
Author: Witaut Bajaryn <email address hidden>
Date: Thu Aug 23 11:50:29 2018 -0700

Add debug logs of database error messages

Closes-Bug: 1788677
Change-Id: I4bcd091ac67e1f527f9028ac196fe683869cce49

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.