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