We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4ad842 + bea1ae8 commit 8d46138Copy full SHA for 8d46138
src/RollbarServiceProvider.php
@@ -91,7 +91,7 @@ public function register()
91
public function stop()
92
{
93
$level = getenv('ROLLBAR_LEVEL') ?: $this->app->config->get('services.rollbar.level', null);
94
- $token = getenv('ROLLBAR_TOKEN') ?: $this->app->config->get('services.rollbar.token', null);
+ $token = getenv('ROLLBAR_TOKEN') ?: $this->app->config->get('services.rollbar.access_token', null);
95
$hasToken = empty($token) === false;
96
97
return $hasToken === false || $level === 'none';
0 commit comments