Simplify some error rendering code in api/lastfm