Mixpanel Agent working check

James Peret 7 anos atrás
pai
commit
4f5d2152e5
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/models/agents/mixpanel_agent.rb

+ 1 - 1
app/models/agents/mixpanel_agent.rb

@@ -47,7 +47,7 @@ module Agents
47 47
     MD
48 48
 
49 49
     def working?
50
-
50
+      received_event_without_error? && !recent_error_logs?
51 51
     end
52 52
 
53 53
     def validate_options