mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 13:38:30 +02:00
✨ Improve schema validation handling
And properly honor the file-validation flag
This commit is contained in:
parent
3eb987897a
commit
ec8b68721b
6 changed files with 54 additions and 42 deletions
|
@ -238,7 +238,7 @@
|
|||
(migrate-team [team-id]
|
||||
(try
|
||||
(-> (assoc system ::db/rollback rollback?)
|
||||
(feat/migrate-team! team-id :validate? validate?))
|
||||
(feat/migrate-team! team-id :validate? validate? :throw-on-validate? (not skip-on-error)))
|
||||
(catch Throwable cause
|
||||
(l/err :hint "unexpected error on processing team" :team-id (dm/str team-id) :cause cause))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue