Using with Telescope
Alexfilus opened this issue · 4 comments
Alexfilus commented
When I use that package with Laravel Telescope, I get multiple requests in log from Telescope itself. http://joxi.ru/a2X0XWEUwnbBd2
I guess it's because of PHP working in CLI mode. Do you know simple way to fix this?
tarampampam commented
@Alexfilus Soon #26 will be published. After that can you try to reproduce your problem?
tarampampam commented
Please, update package up to v3.x
. If any troubles will be happened again - I will open this issue back!
Alexfilus commented
Update package, and Laravel to lastest versions. Problem remains.
Alexfilus commented
I solved this by modify Telescope::filter callback in TelescopeServiceProvider
if ($entry->type === 'request') {
if (isset($entry->content['uri'])) {
if (substr($entry->content['uri'], 0, 10) === '/telescope') {
return false;
}
}
}
just add this at the begining of callback