You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the YAML file cannot be parsed correctly (for whatever reason) AssetSync should just fail and die. We wasted a day on a type just to find out that AssetSync swallows any errors.
def yml
begin
@yml ||= YAML.load(ERB.new(IO.read(yml_path)).result)[Rails.env] rescue nil || {}
rescue Psych::SyntaxError
@yml = {}
end
end
But after finding it it worked! (still happy camper)
Regards,
The text was updated successfully, but these errors were encountered:
Hello,
If the YAML file cannot be parsed correctly (for whatever reason) AssetSync should just fail and die. We wasted a day on a type just to find out that AssetSync swallows any errors.
But after finding it it worked! (still happy camper)
Regards,
The text was updated successfully, but these errors were encountered: