From de9996d4c4851de71adc6f5c9eb16304c12d91c6 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 30 Jun 2022 09:12:39 +0200 Subject: [PATCH] Output exception class when audit fails --- src/Composer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index 737b58018..c6bc21c0f 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -406,7 +406,7 @@ class Installer } catch (TransportException $e) { $this->io->error('Failed to audit '.$target.' packages.'); if ($this->io->isVerbose()) { - $this->io->error($e->getMessage()); + $this->io->error('['.get_class($e).'] '.$e->getMessage()); } } } else {