tracker: changes to resource fails tracking
This commit is contained in:
parent
3b68bebf40
commit
694de75052
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,8 @@ export default function (app: App, opts: Partial<Options>): void {
|
||||||
if (shouldSkip) {
|
if (shouldSkip) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const failed = entry.responseEnd === 0 && entry.transferSize === 0
|
const failed = entry.responseEnd === 0
|
||||||
|
|| (entry.transferSize === 0 && entry.decodedBodySize === 0)
|
||||||
if (failed) {
|
if (failed) {
|
||||||
app.send(
|
app.send(
|
||||||
ResourceTiming(
|
ResourceTiming(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue