[bugsnag] Bugsnag should be loaded synchronously ?

Open
#344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript

Research direction

No file, test, or entry point is named in the issue. Start by locating the Bugsnag integration and tracing how Segment loads integrations, then determine whether synchronous loading is supported by the project architecture. Done should include a maintainer-approved decision on the loading behavior and corresponding coverage or documentation.

Written by the indexing model from the issue text.

Description

Migrated from #1 by @kilianc

My understanding is that Bugsnag should be loaded before any of your code synchronously and as first script (they even suggest <head>) to be sure you catch all errors.

Loading Bugsnag with segment would be a blessing but I am not sure there is an easy fix for this since it usually serves the purpose of combining things you can (and should) load in an async fashion like tracking codes, analytics etc.

I may have missed something :)

?

Dominant language
JavaScript
Stars
125
Forks
136
Avg merge
2h 45m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from segmentio/analytics.js-integrations

All issues in segmentio/analytics.js-integrations

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.