File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,8 @@ defmodule ErrorTracker do
369369 { error , occurrence }
370370 end )
371371
372- occurrence = % Occurrence { occurrence | error: error }
372+ % Occurrence { } = occurrence
373+ occurrence = % { occurrence | error: error }
373374
374375 # If the error existed and was marked as resolved before this exception,
375376 # sent a Telemetry event
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ defmodule ErrorTracker.Web.Live.Dashboard do
3030 def handle_event ( "search" , params , socket ) do
3131 search = Search . from_params ( params [ "search" ] || % { } )
3232
33- path_w_filters = % URI { socket . assigns . path | query: URI . encode_query ( search ) }
33+ % URI { } = path = socket . assigns . path
34+ path_w_filters = % { path | query: URI . encode_query ( search ) }
3435
3536 { :noreply , push_patch ( socket , to: URI . to_string ( path_w_filters ) ) }
3637 end
You can’t perform that action at this time.
0 commit comments