Skip to content

Commit

Permalink
enable_utf8_sanitization option support (#6)
Browse files Browse the repository at this point in the history

* enable_utf8_sanitization opt support (camel case)
  • Loading branch information
yumgame authored and baibaratsky committed Dec 28, 2016
1 parent 65bd281 commit 6fce820
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rollbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Rollbar extends Object
public $scrubFields = ['passwd', 'password', 'secret', 'auth_token', '_csrf'];
public $timeout;
public $proxy;
public $enableUtf8Sanitization = true;

/**
* @var array Exceptions to be ignored by yii2-rollbar
Expand Down Expand Up @@ -50,6 +51,7 @@ public function init()
'scrub_fields' => $this->scrubFields,
'timeout' => $this->timeout,
'proxy' => $this->proxy,
'enable_utf8_sanitization' => $this->enableUtf8Sanitization,
],
false,
false,
Expand All @@ -58,4 +60,4 @@ public function init()

parent::init();
}
}
}

0 comments on commit 6fce820

Please sign in to comment.