catch one more rate limit type

This commit is contained in:
Bryan Stitt 2023-10-10 16:05:28 -07:00
parent 45a6526d9a
commit 47749df94e

@ -416,6 +416,13 @@ impl OpenRequestHandle {
ResponseType::Error
}
}
-32005 => {
if error.message == "rate limit exceeded" {
ResponseType::RateLimited
} else {
ResponseType::Error
}
}
-32601 => {
let error_msg = error.message.as_ref();