BUG 6807 Avoid fatal error when installation crashes
An array sometimes is being passed as the error log, which was causing a fatal error when the installation crashed. This also hides the real reason of the crash, since the installation log never shows.
This commit is contained in:
@@ -561,7 +561,7 @@ class Installer
|
||||
{
|
||||
array_push($this->report,$text);
|
||||
if ($failed)
|
||||
throw new Exception($text);
|
||||
throw new Exception(is_string($text) ? $text : var_export($text, true));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user