Closed jeremybmerrill closed 11 years ago
So, this is good, except that console
is not available in all browsers (cough IE). There are two way sof going about this:
throw "blah"
, though this will be pretty harsh and may break the whole app.console.log
into a LT.log
function that first checks if it exists.
to fix #13.
Console.log a more helpful msg when the updated_time can't be gotten from OpenStates, most likely because the bill number is incorrectly formatted (see #13) for examples.