HTML: Show error details when minification fails

Fixes other problem mentioned in #288