catch error status in user detail view

Signed-off-by: Wu Xudong <tikiet@gmail.com>