bigcommerce/bigcommerce-api-ruby

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language