Backtraces for DatabaseExceptionWrappers, lacking a previous Exception, cause a Fatal Error, due to a method call on a non-object.
Fatal error: Call to a member function getTrace() on a non-object in ../core/lib/Drupal/Core/Controller/ExceptionController.php on line 332
The method, ExceptionController::decodeException(), has a refactoring @todo, but I can't find anything else addressing it currently.