UrbanCCD-UChicago / plenario2

The Premier Open Data Discovery Platform
http://plenar.io/
Other
12 stars 2 forks source link

Elixir.MatchError: no match of right hand side value: {:error, :invalid_date} #395

Closed vforgione closed 6 years ago

vforgione commented 6 years ago

https://sentry.io/urbanccd/devplenario/issues/629415258/

Elixir.MatchError: no match of right hand side value: {:error, :invalid_date}
  File "lib/postgres_extensions.ex", line 75, in Plenario.TsRange.from_erl/1
    {:ok, n} = NaiveDateTime.new(y, m, d, h, i, s, {u, 0})
  File "lib/postgres_extensions.ex", line 37, in Plenario.TsRange.new/4
    upper: from_erl(upper),
  File "lib/plenario_etl/ingest_worker.ex", line 84, in PlenarioEtl.IngestWorker.handle_info/2
    range = MetaActions.compute_time_range!(meta)
  File "lib/gen_stage.ex", line 2022, in GenStage.noreply_callback/3
  File "gen_server.erl", line 616, in :gen_server.try_dispatch/4
...
(3 additional frame(s) were not displayed)

(MatchError) no match of right hand side value: {:error, :invalid_date}
vforgione commented 6 years ago

This is still throwing errors. Reopening.