seitime-frappe/frappe/database/postgres
Saqib Ansari bd8ac90286
fix(ux): show report button on too many writes error (#15614)
* feat: log errors on too many writes to ease debugging

* fix(ux): extract and show which app/file/function caused too many writes

* fix: postgres error checking assumes exception is postgres exception

* fix: better default for skipping frames

Typically stack is like: some_app -> your_function -> this function. So last 2 frames need to be skipped.

* fix: postgres error checking assumes exception is postgres exception

* fix: better default for skipping frames

Typically stack is like: some_app -> your_function -> this function. So last 2 frames need to be skipped.

* refactor: show Report button instead of logging

* revert: unnecessary new functionality

* test: assert exact exception

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-01-31 18:57:32 +05:30
..
__init__.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
database.py fix(ux): show report button on too many writes error (#15614) 2022-01-31 18:57:32 +05:30
framework_postgres.sql fix(ux): add "Show Dashboard" check for tab breaks 2022-01-03 13:57:36 +05:30
schema.py chore: Add nosemgrep comment to avoid semgrep warnings 2022-01-24 11:00:18 +05:30
setup_db.py chore: Drop dead and deprecated code 2021-05-26 15:31:29 +05:30