travisghansen / phpgpg

Support PGP operations in PHP
9 stars 4 forks source link

Bug when throwing an exception in Driver/GnuPG/Cli/Engine::_openSubprocess() #3

Closed JakubMatejka closed 8 years ago

JakubMatejka commented 8 years ago

Hi, Here is a bug: https://github.com/travisghansen/phpgpg/blob/master/src/PhpGpg/Driver/GnuPG/Cli/Engine.php#L1391 Third argument of \Exception should be previous exception, not $commandLine string.

travisghansen commented 8 years ago

Thanks for the report. I've fixed and published v0.0.7 with the fix.