Skip to content

Commit

Permalink
Merge pull request #30 from gmorel/patch-1
Browse files Browse the repository at this point in the history
Fix JsonParser typo in Exception thrown
  • Loading branch information
shouze committed Oct 31, 2015
2 parents cb0fa45 + 1f770ef commit 8ff4059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Json/JsonParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function evaluate(Json $json, $expression)
try {
return $json->read($expression, $this->propertyAccessor);
} catch (\Exception $e) {
throw new \Exception(sprintf('Failed to evaluate expression "%s"', $expression, 0, $e));
throw new \Exception(sprintf('Failed to evaluate expression "%s"', $expression), 0, $e);
}
}

Expand Down

0 comments on commit 8ff4059

Please sign in to comment.