yii2-db-manager
yii2-db-manager copied to clipboard
Unhelpful error message: Path is not writable! Check chmod!
When trying to get the help for the yii2 console commands on a server, I ran this:
$ yii help
and was greeted with this error message:
Error: Path is not writable! Check chmod!
This message tells me some path is not writeable, but critically, it does not actually tell me which path it tried to write, making solving the issue harder than it needs to be.
I traced it down to this file: https://github.com/Beaten-Sect0r/yii2-db-manager/blob/master/src/Module.php#L142
You have the path available here, so please mention it in the error message.
Will prepare a PR for this ❤️
I see you closed the PR without merging it. Care to comment on why? I thought it was a small but useful improvement....