tracker: fixing failuresOnly option in network (15.0.3 beta)
This commit is contained in:
parent
2f693cd490
commit
e2417ef2be
4 changed files with 9 additions and 2 deletions
Binary file not shown.
|
|
@ -1,4 +1,8 @@
|
|||
# 15.0.2
|
||||
## 15.0.3
|
||||
|
||||
- fixing `failuresOnly` option for network
|
||||
|
||||
## 15.0.2
|
||||
|
||||
- fixing crossdomain access check
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@openreplay/tracker",
|
||||
"description": "The OpenReplay tracker main package",
|
||||
"version": "15.0.2",
|
||||
"version": "15.0.3",
|
||||
"keywords": [
|
||||
"logging",
|
||||
"replay"
|
||||
|
|
|
|||
|
|
@ -136,6 +136,9 @@ export default function (app: App, opts: Partial<Options> = {}) {
|
|||
setSessionTokenHeader,
|
||||
sanitize,
|
||||
(message) => {
|
||||
if (options.failuresOnly && message.status < 400) {
|
||||
return
|
||||
}
|
||||
app.send(
|
||||
NetworkRequest(
|
||||
message.requestType,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue