When activating a bonus and spinning:
Server returns error:
{"error":"ERR_GEN","message":"Something went wrong"}
Client throws unhandled exception:
Uncaught TypeError: Cannot read properties of undefined (reading 'multiplier')
Steps to Reproduce
1. Activate bonus feature
2. Initiate spin
3. Observe network error and console crash
Expected Behavior
1. Graceful bonus activation
2. Proper error handling when server fails
3. No undefined property access
Possible Causes
1. Server failing to process bonus state transitions
2. Missing null-check on bonus data in client code
3. Race condition in bonus activation sequence
Environment
Browser: [e.g. Chrome 125]
Game: Cluster
Bonus Mode: ANTE, SUPERANTE, SUPERSPIN