FlowFuse / FlowFuse/flowfuse

Device state update being called with a null state

Open
#3,048 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

Sentry Issue: [FLOWFUSE-BACKEND-1P](https://flowfuse.sentry.io/issues/4599076317/?referrer=github_integration)

```
TypeError: Cannot read properties of null (reading 'state')
File "/usr/src/forge/app/node_modules/@flowforge/flowforge/forge/db/controllers/Device.js", line 5, in Object.updateState
if (state.state) {
File "/usr/src/forge/app/node_modules/@flowforge/flowforge/forge/comms/devices.js", line 75, in DeviceCommsHandler.handleStatus
await this.app.db.controllers.Device.updateState(device, payload)
File "", in runMicrotasks
File "node:internal/process/task_queues", line 96, in processTicksAndRejections
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.