How to handle errors from third party libraries in PHP -
I have set up my own error handlers which stop application in development and a custom error with the details The page displays whether the error type (Fatal, Warning) etc. And it is very good because I am easily searching all the errors because they do not get output with HTML
I am having problems That is, sometimes third-party libraries Errors the error warnings that are not really a problem, because of this, the script stops and displays the error that I do not want to see.
For example, I am using a library which depends on Buzz and is throwing this error
"file_get_contents (): Content- Type is not specified / form www- urlencoded ".
It still works even if it does.
Now, whatever I have written, I have nothing to do with it, I do not want to go into it and myself to fix this error myself.
Do you have any idea how do I manage these types of scenarios?
Comments
Post a Comment