mxstbr/pgp.asc

Better error handling

Open

#22 创建于 2015年7月28日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)HTML (5 fork)github user discovery
Backendenhancementhelp wanted

仓库指标

Star
 (56 star)
PR 合并指标
 (PR 指标待抓取)

描述

Currently, person.rb returns false if something went wrong with the Hall of Fame submission, which then triggers the persons_controller to show an error alert.

The issue is that the error message is always the same one, no matter where in the whole process the problem occurred. I do not have enough Rails experience to fix this, as I don't know how to return an error message from the model and use it in the controller. Any ideas?

贡献者指南