Skip to content
Snippets Groups Projects
Select Git revision
  • esahlani-members-of-a-project-overview
  • 512949-add-sharding-key-to-merge_request_diff_files
  • 463385-heading-anchor-links-aren-t-announced-correctly-by-screen-reader
  • esahlani-groups-api-docs-overview
  • master default protected
  • package-registry-downcase
  • track-page-view-event-for-group-security-inventory
  • sf/feature/metric-visited-audit-log-page-480117
  • 523438-vue3-migration-related_issues_spec
  • feat/512677-path-lock-controller
  • DOCS-mmora-master-patch-37647
  • 522011-backfill-finish-onboarding-saml
  • tbulva-zoekt-multimatch-url-update-fix
  • 485051-sep-variables-incorrectly-assigned-for-multiple-rule-schedules
  • release-tools/update-kas
  • dakotadux/add-rest-api-to-update-status-of-external-requirement-controller
  • 519532-approvals-are-required-when-mr-pipelines-produce-no-security-artifacts-but-previous-branch
  • dblessing_unify_omniauth_code_paths
  • 450705-policies-policy-type
  • hacks4oats-master-patch-82f8
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

structured_logger.rb

  • Sean McGivern's avatar
    5c030795
    Omit previous error from Sidekiq JSON logs · 5c030795
    Sean McGivern authored and Dylan Griffith's avatar Dylan Griffith committed
    Sidekiq stores a job's error details in the payload for the _next_ run,
    so that it can display the error in the Sidekiq UI. This is because
    Sidekiq's main state is the queue of jobs to be run. However, in our
    logs, this is very confusing, because we shouldn't have any error at all
    when a job starts, and we already add an error message and class to our
    logs when a job fails.
    5c030795
    History
    Omit previous error from Sidekiq JSON logs
    Sean McGivern authored and Dylan Griffith's avatar Dylan Griffith committed
    Sidekiq stores a job's error details in the payload for the _next_ run,
    so that it can display the error in the Sidekiq UI. This is because
    Sidekiq's main state is the queue of jobs to be run. However, in our
    logs, this is very confusing, because we shouldn't have any error at all
    when a job starts, and we already add an error message and class to our
    logs when a job fails.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.