summaryrefslogtreecommitdiffstats
path: root/lib/SparkPost/SparkPostException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SparkPost/SparkPostException.php')
-rw-r--r--lib/SparkPost/SparkPostException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SparkPost/SparkPostException.php b/lib/SparkPost/SparkPostException.php
index 8f06845..bde2e5e 100644
--- a/lib/SparkPost/SparkPostException.php
+++ b/lib/SparkPost/SparkPostException.php
@@ -21,7 +21,7 @@ class SparkPostException extends \Exception
*
* @param Exception $exception - the exception to be wrapped
*/
- public function __construct(\Exception $exception, $request)
+ public function __construct(\Exception $exception, $request = null)
{
$this->request = $request;