Fix shiny exception template, closes #564