included zip into requirements, php 7 users which did not have them crashed

This commit is contained in:
kremsy
2017-03-10 20:09:39 +01:00
parent cebdb05027
commit 2b44ed609d
3 changed files with 14 additions and 2 deletions

View File

@ -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);