Added additional check.
This commit is contained in:
parent
70de454d48
commit
a7a4bfd892
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ class Locale < ApplicationModel
|
|||
}
|
||||
)
|
||||
|
||||
fail "Can't load locales from #{url}" if !result
|
||||
fail "Can't load locales from #{url}: #{result.error}" if !result.success?
|
||||
|
||||
ActiveRecord::Base.transaction do
|
||||
|
|
Loading…
Reference in a new issue