Skip to content

Commit db24074

Browse files
committed
Don't error if req is undefined (#3422)
1 parent 820c70e commit db24074

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/static/sentry/app

1 file changed

+1
-1
lines changed

src/sentry/static/sentry/app/api.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class Client {
5656
if (cleanup === true) {
5757
delete this.activeRequests[id];
5858
}
59-
if (req.alive) {
59+
if (req && req.alive) {
6060
return func.apply(req, args);
6161
}
6262
};

0 commit comments

Comments
 (0)