Skip to content

Commit 22e5ce4

Browse files
samikshya-dbvarun-edachali-dbx
authored andcommitted
Improve debugging + fix PR review template (#514)
* Improve debugging + add PR review template * case sensitivity of PR template Signed-off-by: varun-edachali-dbx <[email protected]>
1 parent d36889d commit 22e5ce4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/databricks/sql/auth/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def should_retry(self, method: str, status_code: int) -> Tuple[bool, str]:
400400
and status_code not in self.force_dangerous_codes
401401
):
402402
raise UnsafeToRetryError(
403-
"ExecuteStatement command can only be retried for codes 429 and 503"
403+
"ExecuteStatement command can only be retried for codes 429 and 503. Received code: {status_code}"
404404
)
405405

406406
# Request failed with a dangerous code, was an ExecuteStatement, but user forced retries for this

0 commit comments

Comments
 (0)