Skip to content

Commit

Permalink
catch throwable instead of exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas D Hedding committed Dec 8, 2021
1 parent 7a3a448 commit 4eec6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Auth/LoginCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
Expand Down

0 comments on commit 4eec6de

Please sign in to comment.