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

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

No files matched your search

+2 -1
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);