From c80250661b4755ffb5104a00e73230f9ca91d6b4 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 27 Sep 2016 17:10:35 +0100
Subject: [PATCH] Issue #2807271 by Mile23: run-tests.sh needs to output an
 exception to stderr for the testbot

---
 core/scripts/run-tests.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index c025f7dbf1b9..29367230a494 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -76,6 +76,7 @@
     $groups = simpletest_test_get_all($args['module']);
   }
   catch (Exception $e) {
+    error_log((string) $e);
     echo (string) $e;
     exit(SIMPLETEST_SCRIPT_EXIT_EXCEPTION);
   }
-- 
GitLab