DateTime.from_iso8601 returns unexpected tuple #4260
Labels
area:teslamate
Related to TeslaMate core
elixir
Pull requests that update Elixir code
kind:bug
Something isn't working
teslamate/lib/teslamate/log.ex
Lines 176 to 185 in ad34131
If you look at the logs, there was is scary looking error that isn't generating a test failure:
Problem is DateTime.from_iso8601 returns a tuple, and could in theory fail. Sigh. Wish Elixir had strong type checking...
In actual practice, this function call probably I think can't fail, the value is constant.
The text was updated successfully, but these errors were encountered: