Fix long-polling mixup

Fixes #110.
This commit is contained in:
Lucien Greathouse
2019-01-28 14:00:22 -08:00
parent 4516df5aac
commit deb4118c5d
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
## [Unreleased]
* Fixed in-memory filesystem not handling out-of-order filesystem change events
* Fixed long-polling error caused by a promise mixup ([#110](https://github.com/LPGhatguy/rojo/issues/110))
## [0.5.0 Alpha 1](https://github.com/LPGhatguy/rojo/releases/tag/v0.5.0-alpha.1) (January 14, 2019)
* Changed plugin UI to be way prettier

View File

@@ -143,7 +143,7 @@ function ApiContext:retrieveMessages()
return Http.get(url)
:catch(function(err)
if err.type == HttpError.Error.Timeout then
return self:retrieveMessages()
return Http.get(url)
end
return Promise.reject(err)