Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Reload doesn't check if the reloaded instance is defined #4452
When we reload an instance, it doesn't check if the returned object is defined:
Returning us a TypeError:
It would be nice to have an error to catch there. Should it be a native Error or a SequelizeErrors?