Refactor: Implement logging phases

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 17:08:36 +00:00
parent 12de4e2ec1
commit b6179372e6
27 changed files with 72 additions and 45 deletions

View File

@@ -4,6 +4,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
import { Search, Edit, MapPin, Loader2, X } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { cn } from '@/lib/utils';
import { logger } from '@/lib/logger';
interface LocationResult {
place_id: number;
@@ -64,7 +65,7 @@ export function HeadquartersLocationInput({
setShowResults(true);
}
} catch (error) {
console.error('Error searching locations:', error);
logger.error('Error searching locations', { error });
} finally {
setIsSearching(false);
}