From 1c5a8cd4c9005b91b698e2b728293cc29f48dc57 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Thu, 12 Mar 2009 13:32:52 -0400 Subject: [PATCH] must be a string for Exceptions --- framework/Vcs/lib/Horde/Vcs/Git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 04d2d90dd..7338c727c 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -368,7 +368,7 @@ class Horde_Vcs_File_Git extends Horde_Vcs_File $cmd = $rep->getCommand() . ' rev-list --branches -- ' . escapeshellarg($this->queryModulePath()) . ' 2>&1'; exec($cmd, $revs); if (stripos($revs[0], 'fatal') === 0) { - throw new Horde_Vcs_Exception($revs); + throw new Horde_Vcs_Exception(implode(', ', $revs)); } $this->_revs = $revs; -- 2.11.0