Skip to content

Commit

Permalink
Added apostrof in exception maessage
Browse files Browse the repository at this point in the history
  • Loading branch information
honzapospi committed Nov 16, 2016
1 parent b9a12e9 commit 6ae0a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function run(){
$path = $path ? $path : '/';
$routeResponse = $this->routeList->match($path, $this->request->method);
if(!$routeResponse)
throw new BadRequestException('Unsupported '.$this->request->method.' '.$path.' request');
throw new BadRequestException('Unsupported '.$this->request->method.' "'.$path.'"" request');
$instance = $this->container->getByType($routeResponse['classname']);
if(!$instance instanceof IController) {
throw new ApplicationException('Class "' . $routeResponse['classname'] . '" must be instance of RestServer\IController');
Expand Down

0 comments on commit 6ae0a63

Please sign in to comment.