aspirepress / AspireUpdate

A plugin that allows for rewriting the URLs used to fetch updates from WordPress.org to some other endpoint
15 stars 4 forks source link

The debug log crashes site when debug log path is invalid #7

Open asirota opened 1 week ago

asirota commented 1 week ago

What's the issue with the debug log @namithj

namithj commented 1 week ago

A wrong debug log path will lock the user out of Wordpress admin providing him no way to fix the issue.

Due to this line

throw new \InvalidArgumentException('Unable to write debug log!');

Currently commented out.