Skip to content

Commit

Permalink
Fix startup error on import (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
cybermaggedon authored Jan 29, 2025
1 parent 1543a06 commit 701ec1e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"""

import boto3
from botocore.errorfactory import ThrottlingException
import json
from prometheus_client import Histogram
import os
Expand Down Expand Up @@ -259,7 +258,7 @@ def handle(self, msg):

print("Done.", flush=True)

except ThrottlingException:
except self.bedrock.exceptions.ThrottlingException:

print("Send rate limit response...", flush=True)

Expand Down

0 comments on commit 701ec1e

Please sign in to comment.