fix: handle exceptions thrown in post_schema_updates (#18648)
* fix: handle exceptions thrown in post_schema_updates * chore: removed nested try-finally block
This commit is contained in:
parent
aa8957e785
commit
9c0e111383
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class SiteMigration:
|
|||
try:
|
||||
self.pre_schema_updates()
|
||||
self.run_schema_updates()
|
||||
finally:
|
||||
self.post_schema_updates()
|
||||
finally:
|
||||
self.tearDown()
|
||||
frappe.destroy()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue