Skip to content

Commit

Permalink
Merge pull request #634 from Wirone/patch-1
Browse files Browse the repository at this point in the history
Use configured message limit when creating serializers
  • Loading branch information
stayallive authored Jul 31, 2018
2 parents 0cb928c + 122d574 commit 4c4ca2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Raven/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ public function __construct($options_or_dsn = null, $options = array())
'name' => 'sentry-php',
'version' => self::VERSION,
));
$this->serializer = new Raven_Serializer($this->mb_detect_order);
$this->reprSerializer = new Raven_ReprSerializer($this->mb_detect_order);
$this->serializer = new Raven_Serializer($this->mb_detect_order, $this->message_limit);
$this->reprSerializer = new Raven_ReprSerializer($this->mb_detect_order, $this->message_limit);

if ($this->curl_method == 'async') {
$this->_curl_handler = new Raven_CurlHandler($this->get_curl_options());
Expand Down

0 comments on commit 4c4ca2c

Please sign in to comment.