Skip to content
← All projects

// Personal ·

Luna Error

Catches and deduplicates Lua errors from both server and clients, then relays them to TSO's backend for centralized tracking instead of posting straight to Discord.

  • Lua
  • GMod

Hooks Lua’s error handler on both realms: the server normalizes native stack traces, and clients hash and locally dedupe their own errors before trickling them up under a rate limit. A shared queue collapses repeated errors from the same realm and message into one count-incrementing entry, capped to prevent a single exception loop from flooding the pipeline, and flushes to a websocket outbox that retries with backoff and keeps a crash-safe disk backup so nothing is lost across a restart.