Skip to content

Commit

Permalink
Ensure initialization error raised properly
Browse files Browse the repository at this point in the history
  • Loading branch information
gburgett committed Aug 8, 2019
1 parent e98553d commit 7a62b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wcc-contentful-app/lib/wcc/contentful/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class << self

def self.configure
if initialized || WCC::Contentful.initialized
raise InitializationError, 'Cannot configure after initialization'
raise WCC::Contentful::InitializationError, 'Cannot configure after initialization'
end

WCC::Contentful.configure do |wcc_contentful_config|
Expand Down

0 comments on commit 7a62b78

Please sign in to comment.