Error handling in profile view

Fixes https://errormill.mozilla.org/support/support/group/169462/

r?