Log errors in html and show it in pebble message.