fix Exception arguments
authorChuck Hagenbuch <chuck@horde.org>
Tue, 23 Jun 2009 02:59:55 +0000 (22:59 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Tue, 23 Jun 2009 02:59:55 +0000 (22:59 -0400)
framework/Vcs/lib/Horde/Vcs/Git.php

index 7722607..7bb1087 100644 (file)
@@ -482,7 +482,7 @@ class Horde_Vcs_File_Git extends Horde_Vcs_File
 
             if (!empty($revs)) {
                 if (stripos($revs[0], 'fatal') === 0) {
-                    throw new Horde_Vcs_Exception($revs);
+                    throw new Horde_Vcs_Exception(implode(', ', $revs));
                 }
 
                 $this->_revlist[$key] = $revs;