Skip to content

Commit

Permalink
Leverage non-capturing catches
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Apr 1, 2022
1 parent 884d79f commit 568c11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dotenv.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ private function resolveCommands(string $value, array $loadedVars): string

try {
$process->mustRun();
} catch (ProcessException $e) {
} catch (ProcessException) {
throw $this->createFormatException(sprintf('Issue expanding a command (%s)', $process->getErrorOutput()));
}

Expand Down

0 comments on commit 568c11b

Please sign in to comment.