Skip to content

Commit

Permalink
Update packages/feedback/src/core/sendFeedback.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Mar 21, 2024
1 parent 323fa03 commit 7cd0dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/feedback/src/core/sendFeedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export async function sendFeedback(
}

// Require valid status codes, otherwise can assume feedback was not sent successfully
if (typeof response.statusCode === 'number' && (response.statusCode < 200 || response.statusCode >= 300)) {
if (typeof response.statusCode === 'number' && (response.statusCode < 200 || response.statusCode >= 300)) {
if (response.statusCode === 0) {
throw new Error(
'Unable to send Feedback. This is because of network issues, or because you are using an ad-blocker.',
Expand Down

0 comments on commit 7cd0dcf

Please sign in to comment.