hippware / wocky

Server side (Erlang/Elixir) software
13 stars 3 forks source link

User current location DB callback handler crash #2263

Closed toland closed 5 years ago

toland commented 5 years ago

From Honeybadger 39164586:

{
  "error" => "%FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :get_location_shares_query, kind: nil, module: Wocky.User}",
  "event" => "\"{\\"table\\":\\"user_current_location\\",\\"old\\":{\\"uuid\\":null,\\"user_id\\":\\"99a432e8-d80f-4c33-b66b-3239d51a6ef9\\",\\"updated_at\\":\\"2019-02-18T18:45:43.402056+00:00\\",\\"speed\\":null,\\"odometer\\":null,\\"lon\\":2,\\"lat\\":1,\\"is_moving\\":null,\\"is_fetch\\":false,\\"heading\\":null,\\"device\\":\\"testing\\",\\"created_at\\":\\"2019-02-18T18:45:33.070729+00:00\\",\\"captured_at\\":\\"2019-02-18T18:45:43.398807+00:00\\",\\"battery_level\\":null,\\"battery_charging\\":null,\\"altitude_accuracy\\":null,\\"altitude\\":null,\\"activity_confidence\\":null,\\"activity\\":null,\\"accuracy\\":1},\\"new\\":{\\"uuid\\":null,\\"user_id\\":\\"99a432e8-d80f-4c33-b66b-3239d51a6ef9\\",\\"updated_at\\":\\"2019-02-18T18:45:48.845217+00:00\\",\\"speed\\":null,\\"odometer\\":null,\\"lon\\":2,\\"lat\\":1,\\"is_moving\\":null,\\"is_fetch\\":false,\\"heading\\":null,\\"device\\":\\"testing\\",\\"created_at\\":\\"2019-02-18T18:45:33.070729+00:00\\",\\"captured_at\\":\\"2019-02-18T18:45:48.841516+00:00\\",\\"battery_level\\":null,\\"battery_charging\\":null,\\"altitude_accuracy\\":null,\\"altitude\\":null,\\"activity_confidence\\":null,\\"activity\\":null,\\"accuracy\\":1},\\"action\\":\\"update\\"}\""
}
bengtan commented 5 years ago

Decluttering / Closing small tickets.