Panic in user hook #115
Owner
```
[PANIC RECOVER] runtime error: invalid memory address or nil pointer dereference goroutine 123843 [running]:
github.com/pocketbase/pocketbase/apis.NewRouter.panicRecover.func3.1()
/go/pkg/mod/github.com/pocketbase/pocketbase@v0.36.7/apis/middlewares.go:271 +0x131
panic({0xe948c0?, 0x1e3a980?})
/usr/local/go/src/runtime/panic.go:860 +0x13a
git.berlinskylarks.de/tib-baseball/skylarks-diamond-planner/dp.AddUserICalLink(0x1e83e83dc5a0?)
/app/dp/hooks_user.go:197 +0x34
git.berlinskylarks.de/tib-baseball/skylarks-diamond-planner/dp.BindDPHooks.func5(0x7fbf9c192a00?)
/app/dp/diamond_planner.go:109 +0x13
github.com/pocketbase/pocketbase/tools/hook.(*TaggedHook[...]).BindFunc.func1()
```
backend
label
fix: guard for potential nil pointer in ical hook
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tib-baseball/skylarks-diamond-planner#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?