Add check for SiteURL presence to avoid panic #33
Labels
Difficulty/1:Easy
Easy ticket
Good First Issue
Suitable for first-time contributors
Hacktoberfest
Help Wanted
Community help wanted
Tech/Go
Type/Task
A general task
When the plugin starts up, it tries to access the SiteURL, but this results in a nil pointer panic if the SiteURL is not set. We should instead ensure it is set, and return/log an error during
OnActivate
to make the error more visible.The text was updated successfully, but these errors were encountered: