get($id); if (empty($vars) || !isset($vars['tick'])) { Log::warning("Tick not found for ID: {$id}"); http_response_code(404); echo '

404 - Tick Not Found

'; return; } Log::info("Successfully loaded tick {$id}: " . substr($vars['tick'], 0, 50) . (strlen($vars['tick']) > 50 ? '...' : '')); $this->render('tick.php', $vars); } catch (Exception $e) { Log::error("Failed to load tick {$id}: " . $e->getMessage()); http_response_code(500); echo '

500 - Internal Server Error

'; } } }