diff --git a/src/StaticsMergerPlugin.php b/src/StaticsMergerPlugin.php
index 8cf35f1..099be15 100644
--- a/src/StaticsMergerPlugin.php
+++ b/src/StaticsMergerPlugin.php
@@ -154,6 +154,7 @@ public function staticsCompile()
$dependencyProcess->mustRun();
} catch (ProcessFailedException $e) {
$this->io->write($dependencyProcess->getOutput());
+ $this->io->write($dependencyProcess->getErrorOutput());
$this->io->write(
sprintf('Failed to install dependencies for "%s" ', $package->getPrettyName())
);
@@ -167,6 +168,7 @@ public function staticsCompile()
$buildProcess->mustRun();
} catch (ProcessFailedException $e) {
$this->io->write($buildProcess->getOutput());
+ $this->io->write($buildProcess->getErrorOutput());
$this->io->write(
sprintf('Static package "%s" failed to build ', $package->getPrettyName())
);