Skip to content

Commit

Permalink
Merge branch 'master' into more_powerful_fixity_service
Browse files Browse the repository at this point in the history
  • Loading branch information
jrochkind authored May 4, 2017
2 parents b78c788 + 87deb35 commit 8491899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/active_fedora/file_configurator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def load_fedora_config
end

begin
fedora_yml = YAML.safe_load(config_erb)
fedora_yml = YAML.safe_load(config_erb, [], [], true) # allow YAML aliases
rescue Psych::SyntaxError => e
raise "fedora.yml was found, but could not be parsed. " \
"Error #{e.message}"
Expand All @@ -132,7 +132,7 @@ def load_solr_config
end

begin
solr_yml = YAML.safe_load(config_erb)
solr_yml = YAML.safe_load(config_erb, [], [], true) # allow YAML aliases
rescue StandardError
raise("solr.yml was found, but could not be parsed.\n")
end
Expand Down

0 comments on commit 8491899

Please sign in to comment.