edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] how about wrapping style placement in try-catch?
Date: Wed, 27 Sep 2017 06:48:19 -0400	[thread overview]
Message-ID: <20170827064819.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1709262050250.6320@carhart.net>

Instead of try catch I created the style object, if it was missing, and also log that it is not there.
console.warn is nice because it's like debug print at level 3, from the js side.
Regular users won't see it.
Amazon only shows one missing style, from the Select object.
This is definitely more informative.
I'll follow up on that root cause later, meantime you should be able to advance.

I'm thinking about bumping the "execute timer" messages from db3 to db4, because timers can fire repeatedly,
and db3 is suppose to look for the presence or absence of problems,
not all the information you need to fix them, so would be nice if level 3 was quiet once the page was browsed,
unless of course there are problems.

Karl Dahlke

  reply	other threads:[~2017-09-27 10:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27  4:01 Kevin Carhart
2017-09-27 10:48 ` Karl Dahlke [this message]
2017-09-28  3:45   ` [Edbrowse-dev] amazon Kevin Carhart
2017-09-28  4:58     ` Karl Dahlke
2017-09-28  6:45       ` Kevin Carhart
2017-09-28  3:48   ` [Edbrowse-dev] how about wrapping style placement in try-catch? Kevin Carhart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170827064819.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).