(#2794) - explain normal 404s in console.info

![screenshot 2014-10-05 16 31 19](https://cloud.githubusercontent.com/assets/283842/4519879/bc44853c-4cce-11e4-9883-1e6d8210a463.png)

And check if you have access to the console (ie not in a worker)
On Oct 5, 2014 6:55 PM, "Calvin Metcalf" <calvin.metcalf@gmail.com> wrote:

> No I was saying check if it's a function
> On Oct 5, 2014 5:57 PM, "Nolan Lawson" <notifications@github.com> wrote:
>
>> In lib/utils.js:
>>
>> > @@ -564,3 +564,12 @@ exports.cancellableFun = function (fun, self, opts) {
>> >  };
>> >
>> >  exports.MD5 = exports.toPromise(require('./deps/md5'));
>> > +
>> > +// designed to give info to browser users, who are disturbed
>> > +// when they see 404s in the console
>> > +exports.explain404 = function (str) {
>> > +  if (process.browser && 'info' in console) {
>>
>> IIRC IE10 barfs if you actually try to call console.info, which is why I
>> check for 'info' in console. In any case, the Travis tests will tell us,
>> since we test IE10.
>>
>> If somebody has defined console.info to be a non-function like a string
>> or something, then something has gone horribly wrong.
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/pouchdb/pouchdb/pull/2835/files#r18437898>.
>>
>