don't warn on pusher errors for now

This commit is contained in:
Sven Fuchs 2012-09-27 22:48:45 +02:00
parent 6bbf63ff0a
commit b9be6da031

View File

@ -42,8 +42,8 @@ $.extend Travis.Pusher.prototype,
{ worker: data }
warn: (type, warning) ->
console.warn(warning) unless @ignoreWarning(warning)
# console.warn(warning) unless @ignoreWarning(warning)
ignoreWarning: (warning) ->
if message = warning.data?.message
message.indexOf('Existing subscription') == 0 || message.indexOf('No current subscription') == 0
# ignoreWarning: (warning) ->
# if message = warning.data?.message
# message.indexOf('Existing subscription') == 0 || message.indexOf('No current subscription') == 0