From 3203bb4d10acdc15b6539a6fc167da04a1b33c4b Mon Sep 17 00:00:00 2001 From: Linda Naughton Date: Sat, 16 Jun 2018 11:11:25 -0400 Subject: [PATCH] Improve missing field model log. --- engine/aresmush/ohm_ext.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/aresmush/ohm_ext.rb b/engine/aresmush/ohm_ext.rb index efb0e0c2bf..e1e17ce049 100644 --- a/engine/aresmush/ohm_ext.rb +++ b/engine/aresmush/ohm_ext.rb @@ -5,7 +5,7 @@ def update_attributes(atts) begin send(:"#{att}=", val) rescue NoMethodError => ex - AresMUSH::Global.logger.warn "Model failed to respond to #{att} #{ex}" + AresMUSH::Global.logger.warn "Model #{self.class} failed to respond to #{att} #{ex}" end end end