mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
Silence the pubnub "Missing Message" errors.
This commit is contained in:
parent
85e1777a65
commit
5cf8e2c180
@ -32,6 +32,8 @@ publish = do ->
|
||||
|
||||
# Redefine original function
|
||||
publish = (message) ->
|
||||
# Stop pubnub logging loads of "Missing Message" errors, as they are quite distracting
|
||||
message or= ' '
|
||||
pubnub.publish({ channel, message })
|
||||
|
||||
# Replay queue now that we have initialised the publish function
|
||||
|
Loading…
Reference in New Issue
Block a user