{"action":"created","issue":{"url":"https://api.github.com/repos/tannakartikey/currents/issues/356","repository_url":"https://api.github.com/repos/tannakartikey/currents","labels_url":"https://api.github.com/repos/tannakartikey/currents/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/tannakartikey/currents/issues/356/comments","events_url":"https://api.github.com/repos/tannakartikey/currents/issues/356/events","html_url":"https://github.com/tannakartikey/currents/issues/356","id":304723094,"number":356,"title":"# (Stripe::InvalidRequestError) \"No such customer: cus_BHXLtghxVcVKYo\"","user":{"login":"tannakartikey","id":422544,"avatar_url":"https://avatars3.githubusercontent.com/u/422544?v=4","gravatar_id":"","url":"https://api.github.com/users/tannakartikey","html_url":"https://github.com/tannakartikey","followers_url":"https://api.github.com/users/tannakartikey/followers","following_url":"https://api.github.com/users/tannakartikey/following{/other_user}","gists_url":"https://api.github.com/users/tannakartikey/gists{/gist_id}","starred_url":"https://api.github.com/users/tannakartikey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannakartikey/subscriptions","organizations_url":"https://api.github.com/users/tannakartikey/orgs","repos_url":"https://api.github.com/users/tannakartikey/repos","events_url":"https://api.github.com/users/tannakartikey/events{/privacy}","received_events_url":"https://api.github.com/users/tannakartikey/received_events","type":"User","site_admin":false},"labels":[{"id":536027546,"url":"https://api.github.com/repos/tannakartikey/currents/labels/bug","name":"bug","color":"ee0701","default":true},{"id":681853226,"url":"https://api.github.com/repos/tannakartikey/currents/labels/staging","name":"staging","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-03-13T11:18:59Z","updated_at":"2018-04-02T14:52:01Z","closed_at":null,"author_association":"OWNER","body":"<table><tr><th>Exception</th><td>(Status 404) (Request req_iKyGvt2t4feoOA) No such customer: cus_BHXLtghxVcVKYo</td></tr><tr><th>Last Occurrence</th><td>April 02, 2018 14:52:00 +0000</td></tr><tr><th>Count</th><td>19</td></tr></table>\n\n## Stack Trace\n<pre>[bundle].../gems/stripe-3.3.2/lib/stripe/stripe_client.rb:278:in `handle_error_response'\n[bundle].../gems/stripe-3.3.2/lib/stripe/stripe_client.rb:226:in `rescue in execute_request_with_rescues'\n[bundle].../gems/stripe-3.3.2/lib/stripe/stripe_client.rb:194:in `execute_request_with_rescues'\n[bundle].../gems/stripe-3.3.2/lib/stripe/stripe_client.rb:151:in `execute_request'\n[bundle].../gems/stripe-3.3.2/lib/stripe/api_operations/request.rb:19:in `request'\n[bundle].../gems/stripe-3.3.2/lib/stripe/api_operations/request.rb:58:in `request'\n[bundle].../gems/stripe-3.3.2/lib/stripe/api_resource.rb:57:in `refresh'\n[bundle].../gems/stripe-3.3.2/lib/stripe/api_resource.rb:64:in `retrieve'\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/app/models/stripe_customer.rb#L10'>[app].../app/models/stripe_customer.rb:10:in `retrieve'</a>\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/app/models/exception_wrapper.rb#L11'>[app].../app/models/exception_wrapper.rb:11:in `call'</a>\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/app/models/exception_wrapper.rb#L11'>[app].../app/models/exception_wrapper.rb:11:in `block (2 levels) in singleton class'</a>\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/app/models/user.rb#L51'>[app].../app/models/user.rb:51:in `trial_over?'</a>\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/app/views/layouts/_subscription_alerts.html.erb#L2'>[app].../app/views/layouts/_subscription_alerts.html.erb:2:in `_app_views_layouts__subscription_alerts_html_erb___1904606218996912188_47246160648100'</a>\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:145:in `block in render'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:333:in `instrument'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:143:in `render'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/partial_renderer.rb:309:in `render'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/renderer.rb:51:in `render_partial'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/helpers/rendering_helper.rb:35:in `render'\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/app/views/layouts/application.html.erb#L26'>[app].../app/views/layouts/application.html.erb:26:in `_app_views_layouts_application_html_erb__909198094051868504_47246152620360'</a>\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:145:in `block in render'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:333:in `instrument'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:143:in `render'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/template_renderer.rb:52:in `render_template'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/template_renderer.rb:14:in `render'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/renderer.rb:46:in `render_template'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/renderer.rb:27:in `render'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:100:in `_render_template'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/streaming.rb:217:in `_render_template'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:83:in `render_to_body'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:32:in `render_to_body'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/renderers.rb:37:in `render_to_body'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/rendering.rb:25:in `render'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:16:in `render'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'\n<a href='https://github.com/tannakartikey/currents/blob/8497f358e90e586ed2f8872e62ddff682cbd6fb8/vendor/ruby-2.3.4/lib/ruby/2.3.0/benchmark.rb#L308'>[app].../vendor/ruby-2.3.4/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'</a>\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/core_ext/benchmark.rb:12:in `ms'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:44:in `block in render'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:43:in `render'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:5:in `send_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting'\n[bundle].../gems/sentry-raven-2.7.2/lib/raven/integrations/rails/controller_transaction.rb:7:in `block in included'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `instance_exec'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in `dispatch'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in `block in action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `each'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `serve'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in `call'\n[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\n[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\n[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/etag.rb:24:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/conditionalget.rb:25:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/head.rb:13:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/session/abstract/id.rb:225:in `context'\n[bundle].../gems/rack-1.6.9/lib/rack/session/abstract/id.rb:220:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in `call'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\n[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in `call_app'\n[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `block in call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in `tagged'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `tagged'\n[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/methodoverride.rb:22:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/runtime.rb:18:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\n[bundle].../gems/rack-cache-1.7.1/lib/rack/cache/context.rb:140:in `forward'\n[bundle].../gems/rack-cache-1.7.1/lib/rack/cache/context.rb:249:in `fetch'\n[bundle].../gems/rack-cache-1.7.1/lib/rack/cache/context.rb:189:in `lookup'\n[bundle].../gems/rack-cache-1.7.1/lib/rack/cache/context.rb:66:in `call!'\n[bundle].../gems/rack-cache-1.7.1/lib/rack/cache/context.rb:51:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in `call'\n[bundle].../gems/rack-1.6.9/lib/rack/sendfile.rb:113:in `call'\n[bundle].../gems/sentry-raven-2.7.2/lib/raven/integrations/rack.rb:51:in `call'\n[bundle].../gems/railties-4.2.7.1/lib/rails/engine.rb:518:in `call'\n[bundle].../gems/railties-4.2.7.1/lib/rails/application.rb:165:in `call'\n[bundle].../gems/puma-3.11.3/lib/puma/configuration.rb:225:in `call'\n[bundle].../gems/puma-3.11.3/lib/puma/server.rb:624:in `handle_request'\n[bundle].../gems/puma-3.11.3/lib/puma/server.rb:438:in `process_client'\n[bundle].../gems/puma-3.11.3/lib/puma/server.rb:302:in `block in run'\n[bundle].../gems/puma-3.11.3/lib/puma/thread_pool.rb:120:in `block in spawn_thread'</pre>\nFingerprint: `b536c6f5487e9e028474b0934689b2595b29589e`\n"},"comment":{"url":"https://api.github.com/repos/tannakartikey/currents/issues/comments/377946731","html_url":"https://github.com/tannakartikey/currents/issues/356#issuecomment-377946731","issue_url":"https://api.github.com/repos/tannakartikey/currents/issues/356","id":377946731,"user":{"login":"tannakartikey","id":422544,"avatar_url":"https://avatars3.githubusercontent.com/u/422544?v=4","gravatar_id":"","url":"https://api.github.com/users/tannakartikey","html_url":"https://github.com/tannakartikey","followers_url":"https://api.github.com/users/tannakartikey/followers","following_url":"https://api.github.com/users/tannakartikey/following{/other_user}","gists_url":"https://api.github.com/users/tannakartikey/gists{/gist_id}","starred_url":"https://api.github.com/users/tannakartikey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannakartikey/subscriptions","organizations_url":"https://api.github.com/users/tannakartikey/orgs","repos_url":"https://api.github.com/users/tannakartikey/repos","events_url":"https://api.github.com/users/tannakartikey/events{/privacy}","received_events_url":"https://api.github.com/users/tannakartikey/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T14:52:01Z","updated_at":"2018-04-02T14:52:01Z","author_association":"OWNER","body":"<table><tr><th>Occurred At</th><td>April 02, 2018 14:52:00 +0000</td></tr><tr><th>Params</th><td>#&lt;User id: 1, email: &quot;costa.aj@gmail.com&quot;, created_at: &quot;2017-06-09 04:35:10&quot;, updated_at: &quot;2018-03-13 11:18:58&quot;, first_name: &quot;AJ&quot;, last_name: &quot;Costa&quot;, home_port: &quot;Green Harbor&quot;, state_waters: &quot;MA&quot;, vessel_name: &quot;Tradition&quot;, subscription_tier: nil, stripe_customer_id: &quot;cus_BHXLtghxVcVKYo&quot;, subscription_id: &quot;sub_BHXLOpStxyoG3T&quot;, is_active: true, payment_source: nil, deleted_at: nil&gt;</td></tr></table>"}}
{"actor":{"display_login":"tannakartikey"}}