Skip to content

Show column name when column type is broken #7012

Description

@mamazu

Feature Request

What

When defining a column with an unknown type doctrine shows a helpful error message. However in there it is missing a crucial info: What column on what table has the missing type.

Why

This would make debugging easier as you know where to look.

How

I can take on this issue. However I do need some guidance on how. I see two possibilities:

  1. All places where Types::get() is used we catch the exception and re-throw with a different message
  2. Change the signature of the exception or introduce a new exception type that allows us to add context to the error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions