mxstbr/pgp.asc

Better error handling

Open

#22 geöffnet am 28. Juli 2015

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (5 Forks)github user discovery
Backendenhancementhelp wanted

Repository-Metriken

Stars
 (56 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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?

Contributor Guide