towerops/lib/towerops_web
Graham McIntire a6a2c1cbde
fix(telemetry): use is_nil instead of not for Process.whereis check
The `not` operator in Elixir only works with booleans, not nil values.
When Exq process doesn't exist, Process.whereis(Exq) returns nil, causing
`:badarg` error when used with `not`.

Error:
  Class=:error
  Reason=:badarg
  {:erlang, :not, [nil], [error_info: %{module: :erl_erts_errors}]}

Changed from:
  not Process.whereis(Exq)

To:
  is_nil(Process.whereis(Exq))

This properly checks if the process exists without causing runtime errors.
2026-01-18 11:14:15 -06:00
..
channels Convert Task.* calls to Exq background workers 2026-01-17 16:46:36 -06:00
components fix all credo issues and add flash auto-dismiss 2026-01-18 10:43:23 -06:00
controllers refactor: use API token auth for profile imports instead of session cookies 2026-01-18 09:30:21 -06:00
helpers fix user deletion bug and implement timezone support 2026-01-18 10:51:11 -06:00
live fix(ui): fix API token success modal z-index issue 2026-01-18 11:10:29 -06:00
plugs feat: update UI to Tailwind Plus design system and fix auth redirects 2026-01-18 09:56:49 -06:00
endpoint.ex agent improvements and agent config 2026-01-16 17:26:51 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
router.ex feat: update UI to Tailwind Plus design system and fix auth redirects 2026-01-18 09:56:49 -06:00
telemetry.ex fix(telemetry): use is_nil instead of not for Process.whereis check 2026-01-18 11:14:15 -06:00
user_auth.ex increase sudo mode timeout to 12 hours 2026-01-18 10:25:17 -06:00