Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print some error messages or warnings when it gets TypeError #350

Open
khiav223577 opened this issue Mar 18, 2020 · 0 comments
Open

Print some error messages or warnings when it gets TypeError #350

khiav223577 opened this issue Mar 18, 2020 · 0 comments

Comments

@khiav223577
Copy link

khiav223577 commented Mar 18, 2020

Could it print some messages when there is TypeError in load_application?
https://github.com/voormedia/rails-erd/blob/v1.6.0/lib/rails_erd/cli.rb#L188-L189

It took me hours to find out there is a TypeError in my code.
In the meanwhile, I got no hints but a corrupted erd diagram missing lots of other models.

I had to trace the code of this gem and finally found out the error is:
TypeError (superclass mismatch for class Tagging)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant