From 4eec6def09166ba11f86bbd64668a4a694151db0 Mon Sep 17 00:00:00 2001 From: Lucas D Hedding Date: Wed, 8 Dec 2021 11:05:00 -0600 Subject: [PATCH] catch throwable instead of exception --- src/Commands/Auth/LoginCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Auth/LoginCommand.php b/src/Commands/Auth/LoginCommand.php index 618032385..07703f831 100644 --- a/src/Commands/Auth/LoginCommand.php +++ b/src/Commands/Auth/LoginCommand.php @@ -38,7 +38,7 @@ public function logIn(array $options = ['machine-token' => null, 'email' => null $token = $tokens->get($options['machine-token']); $this->processLogIn($token); return; - } catch (\Exception $e) { + } catch (\Throwable $e) { $this->log()->notice('Logging in via machine token.'); $tokens->create($options['machine-token']); }