Glossary blurts entire exception stacktrace to user dialog

Description

When the user uploads a glossary csv that is in some way invalid, the entire stacktrace from the resulting exception is sucker-punched into a dialog.
This is a cruel and unusual punishment.

1. Log in as admin
2. Click Glossary in the menu bar
3. Press Import Glossary
4. Select a csv file that is very much unlike a glossary .csv
5. Upload

See screenshot

Environment

Firefox on F22, Wildfly 10.0, Zanata 3.9 release candidate 1 (dbe9cb6a6572752622f86e114796ccb48626de4b)

Status

Assignee

Alex Eng

Reporter

Damian Jansen

Tested Version/s

None

Components

Sprint

None

Fix versions

Affects versions

server-3.9.0

Priority

High