chore: print full stack on postgres DB errors
This commit is contained in:
parent
9137a597eb
commit
654ded1a05
1 changed files with 3 additions and 0 deletions
|
|
@ -195,6 +195,9 @@ class Database(object):
|
|||
|
||||
elif frappe.conf.db_type == "postgres":
|
||||
# TODO: added temporarily
|
||||
import traceback
|
||||
|
||||
traceback.print_stack()
|
||||
print(e)
|
||||
raise
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue