Skip to content

Commit

Permalink
Improve missing field model log.
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnfaraday committed Jun 16, 2018
1 parent 1ff77cd commit 3203bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/aresmush/ohm_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3203bb4

Please sign in to comment.