From 7732296aa4ae8e823a0ec011b91c2f91be5fe129 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 22 Aug 2018 13:09:23 +0100 Subject: [PATCH] Handle AWS Connection Lost --- src/Illuminate/Database/DetectsLostConnections.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Database/DetectsLostConnections.php b/src/Illuminate/Database/DetectsLostConnections.php index 8e3ec7d103f3..f929dc633dab 100644 --- a/src/Illuminate/Database/DetectsLostConnections.php +++ b/src/Illuminate/Database/DetectsLostConnections.php @@ -34,6 +34,7 @@ protected function causedByLostConnection(Throwable $e) 'reset by peer', 'Physical connection is not usable', 'TCP Provider: Error code 0x68', + 'Name or service not known', ]); } }