fix: sentry logging tags should be maps
MODIFY
apps/omg_status/lib/omg_status/release_tasks/set_sentry.ex
apps/omg_status/lib/omg_status/release_tasks/set_sentry.ex
@@ -47,14 +47,14 @@ defmodule OMG.Status.ReleaseTasks.SetSentry do
environment_name: app_env,
included_environments: [app_env],
server_name: hostname,
- tags: [
+ tags: %{
application: release,
eth_network: get_env("ETHEREUM_NETWORK"),
eth_node: get_rpc_client_type(),
current_version: "vsn-#{current_version}",
app_env: "#{app_env}",
hostname: "#{hostname}"
- ]
+ }
]
)

MODIFY
apps/omg_status/test/omg_status/release_tasks/set_sentry_test.exs
apps/omg_status/test/omg_status/release_tasks/set_sentry_test.exs
@@ -50,14 +50,14 @@ defmodule OMG.Status.ReleaseTasks.SetSentryTest do
environment_name: yolo,
included_environments: [yolo],
server_name: server_name,
- tags: [
+ tags: %{
application: :watcher,
eth_network: network,
eth_node: :geth,
current_version: "vsn-" <> current_version,
app_env: yolo,
hostname: server_name
- ]
+ }
]
]

fix: sentry logging tags should be maps (#1489)