Skip to content

Commit ce1c283

Browse files
FeBe95cleptric
andauthored
Remove upper limit for max_breadcrumbs option (#953)
Co-authored-by: Michi Hoffmann <[email protected]>
1 parent e3ff731 commit ce1c283

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Sentry\SentryBundle\DependencyInjection;
66

77
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
8-
use Sentry\Options;
98
use Sentry\SentryBundle\ErrorTypesParser;
109
use Symfony\Bundle\TwigBundle\TwigBundle;
1110
use Symfony\Component\Cache\CacheItem;
@@ -125,10 +124,7 @@ public function getConfigTreeBuilder(): TreeBuilder
125124
->always(\Closure::fromCallable([ErrorTypesParser::class, 'parse']))
126125
->end()
127126
->end()
128-
->integerNode('max_breadcrumbs')
129-
->min(0)
130-
->max(Options::DEFAULT_MAX_BREADCRUMBS)
131-
->end()
127+
->integerNode('max_breadcrumbs')->min(0)->end()
132128
->variableNode('before_breadcrumb')->end()
133129
->arrayNode('in_app_exclude')
134130
->scalarPrototype()->end()

0 commit comments

Comments
 (0)