Server: remove useless check from exceptionHandler()

this cannot be null... @shoghicp y u litter the code with these useless checks ???
This commit is contained in:
Dylan K. Taylor 2018-08-02 14:41:28 +01:00
parent 5546c88f88
commit 9ece971a2b

View File

@ -2144,10 +2144,6 @@ class Server{
* @param array|null $trace
*/
public function exceptionHandler(\Throwable $e, $trace = null){
if($e === null){
return;
}
global $lastError;
if($trace === null){