canvas-lms/lib/canvas
Ethan Vizitei 687acd5211 gracefully handle missing messages
closes FOO-1272
flag=none

Use a specific error message for missing
queued messages that doesn't require
a sentry error for each.

Also introduces a pattern for
"Retriable" job errors and the
accompanying error-level handling

TEST PLAN:
  1) delay the "deliver" ing of
     a message that does not exist.
  2) you should get a log message,
     but no sentry error

Change-Id: Ib6d8f5ae499b2e1ecde1eb74397d77630c0f3e6b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/254639
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2020-12-08 22:18:15 +00:00
..
apm add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
builders add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
cache add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
cache_register create a granular timestamp system for use in cache keys 2019-05-08 15:24:01 +00:00
cassandra add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
cdn add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
core_ext add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
dynamic_settings downgrade several expected error locations 2020-10-30 16:46:01 +00:00
dynamo_db add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
errors moar frozen string literal fixes 2020-11-17 22:06:13 +00:00
failure_percent_counter switch to redis server side script for failure percent counter 2017-01-19 23:41:39 +00:00
migration downgrade content migration timeouts to WARN 2020-11-06 22:03:18 +00:00
oauth add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
plugins add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
security add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
vault add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
account_cacher.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
apm.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
aws.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
cache_register.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
cdn.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
crocodoc.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
draft_state_validations.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
dynamic_settings.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
error_stats.rb gracefully handle missing messages 2020-12-08 22:18:15 +00:00
errors.rb introduce error levels to exception handling 2020-10-29 02:04:14 +00:00
event_stream_logger.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
failure_percent_counter.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
grade_validations.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
hash_ring.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
icu.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
jwt_workflow.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
live_events.rb cleanup(LiveEvents): Ensure compact_live_events is readable 2020-11-20 12:46:40 +00:00
live_events_callbacks.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
lock_explanation.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
lockdown_browser.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
message_helper.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
migration.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
outcome_import_validations.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
password_policy.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
plugin.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
redis.rb downgrade several expected error locations 2020-10-30 16:46:01 +00:00
redis_config.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
reloader.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
request_forgery_protection.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
root_account_cacher.rb fix root account cacher request cache caching only using local ids 2020-11-05 22:53:22 +00:00
security.rb token expired errors 2020-11-30 20:03:11 +00:00
soft_deletable.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
twilio.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
vault.rb Make fallthrough vault cache duration work 2020-11-11 21:04:55 +00:00