bq/corbel-composr

View on GitHub
src/lib/server.js

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

      if (body instanceof Error && !body.body) {
        // Parse all errors to restify errors
        body = new ComposrError(body.error || body.message, body.errorDescription || body.code || body.stack,
          body.status || body.statusCode || 500)
      }
Severity: Major
Found in src/lib/server.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status