Check entity can be loaded before creating snippet.
Compare changes
+ 8
− 6
@@ -133,12 +133,14 @@ class ChatForm extends FormBase {
Check that the entity is loaded before creating a snippet. This prevents fatal errors if the index gets out of sync with the site.
We might want to log when that happens?