Skip to content

Commit 237c34c

Browse files
committed
fix issue
1 parent 4fb4f7a commit 237c34c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Reporter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function reportException(\Exception $exception)
4949
'method' => $this->request->getMethod(),
5050
'ip' => $this->request->getClientIps(),
5151
'path' => $this->request->path(),
52-
'input' => array_except($this->request->all(), ['_pjax', '_token', '_method', '_previous_']),
52+
'query' => array_except($this->request->all(), ['_pjax', '_token', '_method', '_previous_']),
5353
'body' => $this->request->getContent(),
5454
'cookies' => $this->request->cookies->all(),
5555
'headers' => array_except($this->request->headers->all(), 'cookie'),
@@ -66,12 +66,12 @@ public function reportException(\Exception $exception)
6666
$data = $this->stringify($data);
6767

6868
try {
69-
$result = $this->store($data);
69+
$this->store($data);
7070
} catch (\Exception $e) {
71-
$result = $this->reportException($e);
71+
// $result = $this->reportException($e);
7272
}
7373

74-
return $result;
74+
// return $result;
7575
}
7676

7777
/**
@@ -107,7 +107,7 @@ public function store(array $data)
107107
$exception->trace = $data['trace'];
108108
$exception->method = $data['method'];
109109
$exception->path = $data['path'];
110-
$exception->input = $data['input'];
110+
$exception->query = $data['query'];
111111
$exception->body = $data['body'];
112112
$exception->cookies = $data['cookies'];
113113
$exception->headers = $data['headers'];

0 commit comments

Comments
 (0)