bigcommerce/bigcommerce-api-ruby

View on GitHub
examples/exception_handling.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method bc_handle_exception has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def bc_handle_exception
  # Below is a list of all the errors we will throw
  yield
rescue Bigcommerce::BadRequest => e
  puts e.inspect
Severity: Minor
Found in examples/exception_handling.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status