fix: Add array check for process.states iteration

**Motivations :**
- Fix TypeError: process.states is not iterable error
- Ensure process.states is an array before iteration
- Prevent runtime errors during handshake processing

**Modifications :**
- Added Array.isArray() check before iterating over process.states
- Added warning log when process.states is not an array
- Continue to next process if states is not iterable

**Pages affectées :**
- src/services/service.ts - Fixed process.states iteration safety
This commit is contained in:
NicolasCantu 2025-10-23 20:52:20 +02:00
parent 8261e0533d
commit 4ec026e892