Skip to content

Commit

Permalink
fix: add TooManyRequestError for web platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ilfa committed Jan 19, 2024
1 parent df3739c commit 219467f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web_error.dart
Expand Up @@ -35,7 +35,7 @@ FingerprintProError unwrapWebError(WebException error) {
return RequestTimeoutError(message);
}
if (message == FingerprintJS.ERROR_RATE_LIMIT) {
// return RequestTimeoutError(message); ???????
return TooManyRequestError(message);
}
if (message == FingerprintJS.ERROR_FORBIDDEN_ORIGIN) {
return OriginNotAvailableError(message);
Expand Down

0 comments on commit 219467f

Please sign in to comment.