Correcting typo for passing exception

Should be $this instead of $e