• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bugsnag / bugsnag-python
86%
master: 94%

Build:
Build:
LAST BUILD BRANCH: templates-update-20250124-172756
DEFAULT BRANCH: master
Repo Added 12 Jun 2016 04:30AM UTC
Files 27
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH kattrali/source-decorated-functions
branch: kattrali/source-decorated-functions
CHANGE BRANCH
x
Reset
  • kattrali/source-decorated-functions
  • SUP-2427/update-django-celery-example
  • add-aws-lambda-handler
  • add-basic-breadcrumb-classes
  • add-breadcrumb-list
  • add-breadcrumb-log-filter
  • add-breadcrumbs-to-events
  • add-legacy-on-breadcrumbs
  • add-on-breadcrumb-callback-type
  • add-skip-bugsnag-attr
  • apply-filters-to-request-url
  • asgi-breadcrumb-leak
  • asgi-feature-flag-tests
  • automatic-breadcrumb-cleanup
  • automatic-breadcrumbs
  • automatic-navigation-breadcrumbs
  • aws-sam-setup
  • aws-sam-tests
  • bottle-feature-flag-tests
  • breadcrumb-configuration
  • breadcrumbs-in-tornado
  • bugfix/threadcontextvar
  • caused-by/bc-breaks
  • caused-by/ignore-classes
  • caused-by/improve-stacktraces
  • caused-by/integration-tests
  • caused-by/spec-compliance
  • caused-by/suppress-context
  • caused-by/test-capture-decorator
  • caused-by/unit-tests
  • cawllec/correct-is-authenticated
  • cawllec/django+celery-example
  • cawllec/expand-payload-filters
  • cawllec/fix-ci-issues
  • cawllec/fix-flask-context
  • cawllec/fix-lint-issues
  • cawllec/fix-typos
  • cawllec/flask-example
  • cawllec/handled-fixes
  • cawllec/handler-exception-override
  • cawllec/pin-2.6-test-versions
  • cawllec/renable-mypy-opts
  • cawllec/separate-middleware-stacks
  • cawllec/test-add-runtime-version
  • celery-maze-runner
  • chalice-example
  • ci-updates
  • ci/3.9.0
  • client-flush
  • django-4
  • django-new-context
  • dont-raise-on-wrongly-encoded-urls
  • exception-group-breadcrumb-metadata
  • exception-groups-with-cause
  • exceptiongroup-pypi
  • extract-exception-groups
  • feature-flag-class
  • feature-flag-client
  • feature-flag-delegate
  • feature-flag-events
  • feature-flag-repr
  • feature-flags-eq
  • fetch-code-before-trimming-path
  • fix-asgi-test
  • fix-async-delivery-exceptions
  • fix-ci
  • fix-deprecation
  • fix-django-duplicate-events
  • fix-event-breadcrumbs-enabled-breadcrumb-types
  • fix-feature-flag-client-leaks
  • fix-feature-flag-to-dict
  • fix-license-audit-on-version-bump
  • fix-license-finder
  • fix-log-filter
  • fix-none-client
  • flask-deprecation
  • flask-feature-flag-tests
  • flask-tests-on-python3
  • founders4schools-fix-example-ignore-classes
  • gracecheung-seo
  • handle_filtering_bytes
  • handled-unhandled
  • improve-source-func-coverage
  • improve-traceback-coverage
  • integration/breadcrumbs
  • integration/caused-by-exceptions
  • integration/exception-causes
  • investigate/py-26-wsgi-issue
  • kattrali/actions
  • kattrali/actions-versions
  • kattrali/add-3.9-ci
  • kattrali/add-pkg-urls
  • kattrali/add-py-typed
  • kattrali/additional-use_ssl-testing
  • kattrali/app-type
  • kattrali/asgi
  • kattrali/auto-on-sessions
  • kattrali/avoid-filtering-api-fields
  • kattrali/capture-default-logger-field
  • kattrali/cleanup-ci
  • kattrali/client-logger
  • kattrali/config-validation
  • kattrali/contextvars-wrapper
  • kattrali/deprecate-use-ssl
  • kattrali/fix-ci-env-numbering
  • kattrali/fix-coveralls-merge
  • kattrali/fix-django-context
  • kattrali/fix-failed-async-delivery
  • kattrali/fix-linting-issues
  • kattrali/fix-missing-flask-request
  • kattrali/fix-py33-build
  • kattrali/fix-recursive-reencoding
  • kattrali/fix-session-persistence
  • kattrali/fix-sessions-delivery-guard
  • kattrali/fix-uniqueness-sanitize-check
  • kattrali/generate-debs
  • kattrali/handle-content-type-suffixes
  • kattrali/improve-log-coverage
  • kattrali/integration-tests
  • kattrali/latest-django-test
  • kattrali/lazily-eval-middleware
  • kattrali/lint-examples
  • kattrali/prevent-recurse-during-logging-notify
  • kattrali/pytest
  • kattrali/release-3.0.0
  • kattrali/release-3.0.0b1
  • kattrali/remove-logging-during-tests
  • kattrali/report-django-request-exc
  • kattrali/return-wrapped-result
  • kattrali/run-async-tests-on-35
  • kattrali/scratch
  • kattrali/send-environment
  • kattrali/simplify-linter
  • kattrali/test-celery
  • kattrali/threads
  • kattrali/threads-spawning
  • kattrali/true-sync
  • kattrali/unloved-example-files
  • kattrali/update-django-example
  • kattrali/update-flask-example
  • kattrali/uwsgi-warnings
  • kylef/client-and-capture
  • lambda-timeout-warning
  • leave-breadcrumb
  • leave-breadcrumbs-when-handler-notset
  • license-auditing
  • manual-sessions
  • martin308/jonls-speed-up-sanitize
  • master
  • millisecond-precision-datetime-formatting
  • move-logger-to-configuration
  • next
  • post-delivery-callbacks
  • pr/161
  • python-3.10
  • python-3.11
  • python-3.12
  • relax-status-code-check
  • release/3.5.0
  • release/v3.5.1
  • release/v3.7.0
  • release/v3.7.1
  • release/v3.8.0
  • release/v3.9.0
  • release/v4.0.1
  • release/v4.0.2
  • release/v4.0.3
  • release/v4.1.0
  • release/v4.1.1
  • release/v4.2.0
  • release/v4.2.1
  • release/v4.3.0
  • release/v4.4.0
  • release/v4.5.0
  • release/v4.6.0
  • release/v4.6.1
  • release/v4.6.2
  • release/v4.7.0
  • release/v4.7.1
  • release/v4.8.0
  • remove-3.3-ci
  • remove-builtins-from-exception-class-names
  • remove-deprecated-pkg-resources-use
  • renovate/configure
  • requests
  • require-breadcrumb-type-enum
  • sanitize-referer-header
  • send-sessions-at-exit
  • session-test-improvements
  • setup-maze-runner
  • setup/include-only-bugsnag
  • skip-license-audit-on-releases
  • steve-n-PLAT-2714
  • temp
  • test-utility-improvements
  • tests/3.13-tests
  • tms/fix-ci
  • tms/hub-api-key
  • tobyhs/test_20190605
  • tom/add-runtime-version
  • tom/add-runtime-version-frameworks
  • tom/filter_dict_failures
  • tom/gemfile-update-jun24
  • tom/remove-gem-lock
  • tornado-new-context
  • track-in-flight-requests
  • track-server-sessions
  • tremlab-django_ex
  • use-configuration-logger
  • utcnow-deprecated
  • v2.6.0b1
  • v3.0.0
  • v3.0.0b1
  • v3.0.0b2
  • v3.1.0
  • v3.1.1
  • v3.1.2
  • v3.2.0
  • v3.3.0
  • v3.4.0
  • v3.4.1
  • v3.4.2
  • v3.4.3
  • v3.5.0
  • v3.5.1
  • v3.5.2
  • v3.6.0
  • v3.6.1
  • v3.7.0
  • v3.7.1
  • v3.8.0
  • v3.9.0
  • v4.1.0
  • v4.1.1
  • v4.2.0
  • v4.2.1
  • v4.3.0
  • v4.4.0
  • v4.5.0
  • v4.6.0
  • v4.6.1
  • v4.6.2
  • v4.7.0
  • v4.7.1
  • v4.8.0
  • v4.x/add-types
  • v4.x/base
  • v4.x/cleanup-config
  • v4.x/expose-request-obj
  • v4.x/fix-config-test
  • v4.x/fix-misspelling
  • v4.x/flip-send-env
  • v4.x/lint-more-thoroughly
  • v4.x/obscure-private-bits
  • v4.x/refactor-static-client-api
  • v4.x/remove-deprecations
  • v4.x/remove-obsolete-future-refs
  • v4.x/remove-threadlocals
  • v4.x/remove-unused-sender
  • v4.x/remove-unused-utils
  • v4.x/rename-notification
  • v4.x/speed-up-test-runs
  • v4.x/test-celery5x
  • v4.x/update-minimum-version
  • v4.x/use-client-addr
  • validate-breadcrumb-metadata
  • wsgi-new-context
  • x-deploy-test@1
  • x-deploy-test@2

pending completion
437

push

travis-ci

kattrali
Extract source file/line when decorating functions

When wrapping a function, if the function fails to invoke successfully,
the stacktrace would reflect that code inside of the Bugsnag library was
being called, which may obscure what needs to be fixed.

This changed passes along the source function being wrapped, extracting
the correct file and line number.

611 of 711 relevant lines covered (85.94%)

4.26 hits per line

Relevant lines Covered
Build:
Build:
711 RELEVANT LINES 611 COVERED LINES
4.26 HITS PER LINE
Source Files on kattrali/source-decorated-functions
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
437 kattrali/source-decorated-functions Extract source file/line when decorating functions When wrapping a function, if the function fails to invoke successfully, the stacktrace would reflect that code inside of the Bugsnag library was being called, which may obscure what needs to be f... push 05 Oct 2016 12:51AM UTC kattrali travis-ci pending completion  
436 kattrali/source-decorated-functions Extract source file/line when decorating functions When wrapping a function, if the function fails to invoke successfully, the stacktrace would reflect that code inside of the Bugsnag library was being called, which may obscure what needs to be f... push 05 Oct 2016 12:43AM UTC kattrali travis-ci pending completion  
See All Builds (1478)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc