From 512b9cf3b574e9e9a3436c779630be4595566b09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Mon, 16 Sep 2019 11:15:23 +0200
Subject: [PATCH] Remove superfluous log message

If we reach this point, we're likely already logging the error somewhere else (i.e. the session handler in use), so there's no point on logging the exception's message again.
---
 lib/SimpleSAML/Logger.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/SimpleSAML/Logger.php b/lib/SimpleSAML/Logger.php
index 66173300e..ab19465d6 100644
--- a/lib/SimpleSAML/Logger.php
+++ b/lib/SimpleSAML/Logger.php
@@ -316,7 +316,6 @@ class Logger
                 $s = Session::getSessionFromRequest();
             } catch (\Exception $e) {
                 // loading session failed. We don't care why, at this point we have a transient session, so we use that
-                self::error('Cannot load or create session: '.$e->getMessage());
                 $s = Session::getSessionFromRequest();
             }
             self::$trackid = $s->getTrackID();
-- 
GitLab