Forgot that the exception message property was protected
Forgot that the exception message property was protected

--- a/include/git/ProjectListArray.class.php
+++ b/include/git/ProjectListArray.class.php
@@ -74,7 +74,7 @@
 					}
 				}
 			} catch (Exception $e) {
-				GitPHP_Log::GetInstance()->Log($e->message);
+				GitPHP_Log::GetInstance()->Log($e->getMessage());
 			}
 		}
 	}

--- a/include/git/ProjectListArrayLegacy.class.php
+++ b/include/git/ProjectListArrayLegacy.class.php
@@ -66,7 +66,7 @@
 							$projObj->SetCategory($cat);
 						$this->projects[$ppath] = $projObj;
 					} catch (Exception $e) {
-						GitPHP_Log::GetInstance()->Log($e->message);
+						GitPHP_Log::GetInstance()->Log($e->getMessage());
 					}
 				}
 			}

--- a/include/git/ProjectListDirectory.class.php
+++ b/include/git/ProjectListDirectory.class.php
@@ -93,7 +93,7 @@
 								$this->projects[$projectPath] = $proj;
 							}
 						} catch (Exception $e) {
-							GitPHP_Log::GetInstance()->Log($e->message);
+							GitPHP_Log::GetInstance()->Log($e->getMessage());
 						}
 					} else {
 						$this->RecurseDir($fullPath);

--- a/include/git/ProjectListFile.class.php
+++ b/include/git/ProjectListFile.class.php
@@ -72,7 +72,7 @@
 						}
 						$this->projects[$regs[1]] = $projObj;
 					} catch (Exception $e) {
-						GitPHP_Log::GetInstance()->Log($e->message);
+						GitPHP_Log::GetInstance()->Log($e->getMessage());
 					}
 				} else {
 					GitPHP_Log::GetInstance()->Log(sprintf('%1$s is not a git project', $projectRoot . $regs[1]));

--- a/include/git/ProjectListScmManager.class.php
+++ b/include/git/ProjectListScmManager.class.php
@@ -94,7 +94,7 @@
 					}
 					$this->projects[$projName] = $projObj;
 				} catch (Exception $e) {
-					GitPHP_Log::GetInstance()->Log($e->message);
+					GitPHP_Log::GetInstance()->Log($e->getMessage());
 				}
 			} else {
 				GitPHP_Log::GetInstance()->Log(sprintf('%1$s is not a git project', $projName));

comments