Provide details in the console when the 'Cannot instantiate ...' error is thrown