Skip to content

Commit

Permalink
Fix long-polling mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy committed Jan 28, 2019
1 parent ed84394 commit 9a2d8b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/ApiContext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a2d8b5

Please sign in to comment.