Skip to content

Commit

Permalink
Unify error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
farao committed Jun 6, 2020
1 parent 28fede2 commit bcc9832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/signal_tower/websocket_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ defmodule SignalTower.WebsocketHandler do
"Sending message: Could not transform internal object to JSON: #{inspect(msg)}"
)

Poison.encode!(%{event: "error", message: "internal_server_error"})
Poison.encode!(%{event: "error", description: "internal_server_error", received_msg: %{}})
end
end

Expand Down

0 comments on commit bcc9832

Please sign in to comment.