common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
955 stars 90 forks source link

Fix panic due to nil pointer dereference #675

Closed chrnorm closed 4 weeks ago

chrnorm commented 4 weeks ago

What changed?

Fixes a panic in the access hook handling due to a nil pointer dereference

Why?

The code path has a panic, due to err.Error() being called and the error being nil.

How did you test it?

Ran dassume locally and confirmed issue is fixed.

Potential risks

N/A - fix for existing issue

Is patch release candidate?

Yes

Link to relevant docs PRs