mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +08:00
fix(api-error): Fix retrieval of error
field, used for endpoint updates
This commit is contained in:
parent
76ccd73153
commit
959ce855ff
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class APIError extends Error
|
|||
@requestOptions ?= @response?.requestOptions
|
||||
@name = "APIError"
|
||||
@message = @body?.message ? @body ? @error?.toString?()
|
||||
@errorTitle = @error?.toString?()
|
||||
@errorTitle = @body?.error
|
||||
|
||||
class TimeoutError extends Error
|
||||
constructor: ->
|
||||
|
|
Loading…
Reference in a new issue