elixir-inspector / ua_inspector

User agent parser library
Apache License 2.0
127 stars 23 forks source link

Handle definition download failures #31

Open leonardb opened 1 year ago

leonardb commented 1 year ago

downloader.ex defp download_file hard matches on {:ok, content}

When github goes offline, like it did today, this causes a cascading crash issue with deployed applications where ua_inspector is used as a dependency

Logging failures and not crashing would probably be a better strategy