don't warn on pusher errors for now
This commit is contained in:
parent
6bbf63ff0a
commit
b9be6da031
|
@ -42,8 +42,8 @@ $.extend Travis.Pusher.prototype,
|
||||||
{ worker: data }
|
{ worker: data }
|
||||||
|
|
||||||
warn: (type, warning) ->
|
warn: (type, warning) ->
|
||||||
console.warn(warning) unless @ignoreWarning(warning)
|
# console.warn(warning) unless @ignoreWarning(warning)
|
||||||
|
|
||||||
ignoreWarning: (warning) ->
|
# ignoreWarning: (warning) ->
|
||||||
if message = warning.data?.message
|
# if message = warning.data?.message
|
||||||
message.indexOf('Existing subscription') == 0 || message.indexOf('No current subscription') == 0
|
# message.indexOf('Existing subscription') == 0 || message.indexOf('No current subscription') == 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user