fix: Stop hunt tracker logs also need console.log for production visibility
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user