KamoCRM

Stop spurious errors flooding the console

Fixkamo-internal
Shipped
1 ஜூலை, 2026 அன்று 2:41 AM UTC
Author
kamo
Commit
1c6d9dc

- org/[id] proxy: backend returns 200 with an empty body for null orgs; response.json() threw 'Unexpected end of JSON input' -> spurious 500. Parse defensively and return null (callers already null-check). - softphone: gate call-queues/agent-state on provider capabilities so FREE_PBX (which returns 501 by design) no longer errors on init. - timezone: memoize + cache init so the missing /timezone/effective endpoint is hit at most once/session; downgrade expected failure log. - SecurityRoleManager: route verbose request/response tracing (which also echoed the *** session token) through a debug-gated logger. - SipJsPhoneSdk: gate per-event console mirror behind localStorage flag.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing