andersao / andersao/laravel-request-logger
Bug in ResponseLoggerMiddleware.php
Đang mở
- Ngôn ngữ chính
- PHP
- Star
- 240
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
As per the documentation the config file doesn't hold a config variable 'exclude', so it was throwing error in the foreach statement
```
$exclude = config('request-logger.exclude');
if($exclude){ //Added an if , if an exclude is coming as null so that error was not thrown
foreach($exclude as $path) {
if($request->is($path)) return true;
}
}
return false;
```
Please fix it.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.