seitime-frappe/frappe/database
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
..
mariadb chore: Add nosemgrep comment to avoid semgrep warnings 2022-01-24 11:00:18 +05:30
postgres fix(ux): show report button on too many writes error (#15614) 2022-01-31 18:57:32 +05:30
__init__.py feat: savepoint contextmanager 2022-01-03 22:20:39 +05:30
database.py fix(ux): show report button on too many writes error (#15614) 2022-01-31 18:57:32 +05:30
db_manager.py refactor: Meaningful variable names 2020-11-09 18:54:47 +05:30
query.py fix: correctly compute doctype name from table name 2022-01-24 11:18:21 +05:30
schema.py fix: dont auto drop manually created index on text types (#15739) 2022-01-26 17:47:30 +05:30