fix: Add missing logger import to config.py

The save() and add_project() methods were calling logger.info() without
importing the logging module. This caused NameError when /add-project
command tried to save configuration.

Added:
- import logging
- logger = logging.getLogger(__name__)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude Discord Bot 2026-02-13 20:20:12 +00:00
parent 01320c0400
commit abbd07e13f

View File

@ -9,7 +9,9 @@ from pathlib import Path
from typing import Any, Dict, List, Optional
import os
import yaml
import logging
logger = logging.getLogger(__name__)
# Known valid tool names from Claude API
VALID_TOOLS = {