Skip to content

Conversation

@StVolodymyr
Copy link

No description provided.

@preinheimer
Copy link
Owner

So the goal here is to avoid having a fatal error if there's a specified value, but the path fails?

I'm quite torn. I'd really rather things failed loudly, rather than silently (imagine specifying the wrong path, expecting it to have worked, and getting nothing). But non-fatal errors are also super.

thoughts?

@StVolodymyr
Copy link
Author

i don't want get fatal error when file not exists, because it crash whole application. though, you're right what silently ignore this error is not good.
I think what warning trigger_error("File urlSimilartor {$similartorinclude} not exist", E_USER_WARNING) is better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants