diff --git a/src/FileEncryption.php b/src/FileEncryption.php index ddda4ea..80338ab 100644 --- a/src/FileEncryption.php +++ b/src/FileEncryption.php @@ -153,10 +153,10 @@ $encrypt = $this->exec(ShellCommands::AGE, $cmd); if (!is_null($encrypt)) { - throw new \Exception("Failed to encrypt '{$this->input}' using public key '{$this->public_key}'"); + throw new \Exception("Failed to encrypt '{$this->input}' to '{$output}' using public key '{$this->public_key}'"); } // Return keypair return $this->get_keypair(); } - } \ No newline at end of file + }