Log the message too.
This commit is contained in:
parent
5c5894198d
commit
598bbb8274
@ -265,8 +265,9 @@ $.get = (key, val, cb) ->
|
|||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
done = (item) ->
|
done = (item) ->
|
||||||
if chrome.runtime.lastError
|
{lastError} = chrome.runtime
|
||||||
c.error chrome.runtime.lastError
|
if lastError
|
||||||
|
c.error lastError, lastError.message or 'No message.'
|
||||||
$.extend items, item
|
$.extend items, item
|
||||||
cb items unless --count
|
cb items unless --count
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user