mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
fix(sentry-2523): Console.warning is not a method
This commit is contained in:
parent
7019dd9595
commit
78c8b85558
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class NylasAPI
|
||||||
type = jsons[0].object
|
type = jsons[0].object
|
||||||
name = @_apiObjectToClassnameMap[type]
|
name = @_apiObjectToClassnameMap[type]
|
||||||
if not name
|
if not name
|
||||||
console.warning("NylasAPI::handleModelResponse: Received unknown API object type: #{type}")
|
console.warn("NylasAPI::handleModelResponse: Received unknown API object type: #{type}")
|
||||||
return Promise.resolve([])
|
return Promise.resolve([])
|
||||||
|
|
||||||
accepted = Promise.resolve(uniquedJSONs)
|
accepted = Promise.resolve(uniquedJSONs)
|
||||||
|
|
Loading…
Reference in a new issue