fix: Stop hunt tracker logs also need console.log for production visibility

This commit is contained in:
mindesbunister
2025-12-05 18:39:49 +01:00
parent f6c9a7b7a4
commit 35c2d7fc8a

View File

@@ -153,7 +153,7 @@ export class StopHuntTracker {
if (activeStopHunts.length === 0) { if (activeStopHunts.length === 0) {
// No active stop hunts, stop monitoring to save resources // No active stop hunts, stop monitoring to save resources
if (this.isMonitoring) { if (this.isMonitoring) {
logger.log('📊 No active stop hunts - pausing monitoring') console.log('📊 No active stop hunts - pausing monitoring')
this.stopMonitoring() this.stopMonitoring()
} }
return return
@@ -606,10 +606,10 @@ export async function startStopHuntTracking(): Promise<void> {
}) })
if (activeCount > 0) { if (activeCount > 0) {
logger.log(`🎯 Found ${activeCount} active stop hunt(s) - starting revenge tracker`) console.log(`🎯 Found ${activeCount} active stop hunt(s) - starting revenge tracker`)
tracker.startMonitoring() tracker.startMonitoring()
} else { } else {
logger.log('📊 No active stop hunts - tracker will start when needed') console.log('📊 No active stop hunts - tracker will start when needed')
} }
} catch (error) { } catch (error) {
console.error('❌ Error starting stop hunt tracker:', error) console.error('❌ Error starting stop hunt tracker:', error)