included zip into requirements, php 7 users which did not have them crashed
This commit is contained in:
@ -404,7 +404,8 @@ class ErrorHandler {
|
||||
* @param \Exception $exception
|
||||
* @param bool $shutdown
|
||||
*/
|
||||
public function handleException(\Exception $exception, $shutdown = true) {
|
||||
public function handleException($exception, $shutdown = true) {
|
||||
//Removed error type, as php throwed the exception in a case and it was not from class Exception weiredly
|
||||
$message = "[ManiaControl EXCEPTION]: {$exception->getMessage()}";
|
||||
|
||||
$exceptionClass = get_class($exception);
|
||||
|
Reference in New Issue
Block a user