Repository navigation
Two fixes to the editor commands' error output. Nothing in components, styles, JS or traits changes.
A model that fails to load names the missing class
atom:tiptap-migrate (and atom:purge-editor-images) now print the cause when a model under app/Models cannot load because a class, interface, trait, enum, function or method is missing:
- Before:
App\Models\X: Error. - After:
App\Models\X: Error: Class "Vendor\Pkg\Base" not found.
It matters because --status --for-v4 refuses to report ready while a model is unreadable, and atom 4's atom:upgrade waits on that status. Any other error still prints only its class, because some quote stored values (an enum cast's ValueError, an UnhandledMatchError).
No SQL in a purge problem
When atom:purge-editor-images cannot read a model's rows, it now prints QueryException (SQLSTATE ...) and no longer the query with its bound values.
Full changes: #131