bugsnag/bugsnag-js

View on GitHub
packages/electron/src/client/main.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createMainClient has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const createMainClient = (opts) => {
  // check api key has been provided as we need it to create the FileStore
  // which happens before the API key is validated
  if (typeof opts.apiKey !== 'string') {
    throw new Error('No Bugsnag API Key set')
Severity: Minor
Found in packages/electron/src/client/main.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status