mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
We capture stack traces of all errors, so these don't really add any value. As a thought experiment, if we had to add a line like this, with the function name in it, every time we use the ?-operator, we're doing something wrong. test_tenants.py::test_tenant_creation_fails creates a failpoint and checks that the error returned by the pageserver contains the failpoint name, and that was failing because it wasn't on the first line of the error. We should probably improve our error-scraping logic in the tests to not rely so heavily on string matching, but that's a different topic. FWIW, these are also pretty unlikely to fail in practice.