Skip to content

Commit

Permalink
Merge pull request #42 from frankmichel/master
Browse files Browse the repository at this point in the history
Replace L4 Exception with generic Exception to support both L4 and L5
  • Loading branch information
msurguy committed Jan 31, 2016
2 parents dec0a28 + edb89e1 commit 1ae75cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Msurguy/Honeypot/Honeypot.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ public function decryptTime($time)
try {
return Crypt::decrypt($time);
}
catch (\Illuminate\Encryption\DecryptException $exception)
catch (\Exception $exception)
{
return null;
}
}

}
}

0 comments on commit 1ae75cf

Please sign in to comment.