微信通知已被删除加上日志

This commit is contained in:
yuanke 2016-09-12 16:40:31 +08:00
parent fc01558e55
commit 7c9f5a4f2d
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ module Mobile
present :is_public, is_public present :is_public, is_public
present :status, 0 present :status, 0
rescue Exception=>e rescue Exception=>e
Rails.logger.info "course_notice is not find!"
Rails.logger.info e
present :status, -1 present :status, -1
present :message, e.message present :message, e.message
end end