Make err.model only present model name

Should reduce the risk of exposing raw information for attackers.