mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 15:22:27 +08:00

This commit makes a more specific N1NotPreLoadedError from StandardError to raise when a custom field is loaded before being preloaded, so it is easier to test that this does not happen from plugins. Also adds the name of the class trying to load the custom field to the error message.