Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.

Commit 8b99006

Browse files
committed
Fix panic
1 parent 6de5ae3 commit 8b99006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emobility/events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func (e *EMobility) HandleEvent(payload api.EventPayload) {
208208
}
209209
}
210210

211-
if e.dataProvider == nil {
211+
if e.dataProvider == nil || payload.Entity == nil {
212212
return
213213
}
214214

0 commit comments

Comments
 (0)