Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Catch API Timeouts #2

Open
symptog opened this issue Apr 4, 2017 · 0 comments
Open

Catch API Timeouts #2

symptog opened this issue Apr 4, 2017 · 0 comments

Comments

@symptog
Copy link
Member

symptog commented Apr 4, 2017

Some tests may sometimes throw a timeout.

1) test Overpass.Parser with XML | Relation (OverpassParserTest)
     test/overpass_parser_test.exs:67
     ** (Protocol.UndefinedError) protocol String.Chars not implemented for %HTTPoison.Error{id: nil, reason: :timeout}
     stacktrace:
       (elixir) lib/string/chars.ex:3: String.Chars.impl_for!/1
       (elixir) lib/string/chars.ex:17: String.Chars.to_string/1
       (logger) lib/logger.ex:644: Logger.truncate/2
       (logger) lib/logger.ex:507: Logger.bare_log/3
       (overpass) lib/overpass/api.ex:56: Overpass.API.process_response/1
       test/overpass_parser_test.exs:72: (test)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant