Fixing the exception throwing and message

This commit is contained in:
Gregwar 2012-12-04 11:35:36 +01:00
parent 31d080a9b7
commit fd2b602196
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class CaptchaController extends Controller
}
if (!$isOk) {
return $this->createNotFoundException('Unable to generate a captcha via a URL without the proper configuration.');
throw $this->createNotFoundException('Unable to generate a captcha via an URL with this session key.');
}
/* @var \Gregwar\CaptchaBundle\Generator\CaptchaGenerator $generator */