Skip to content

Commit 869ed05

Browse files
rsaha-qlikCopilot
andauthored
Updated exception msg
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b65846d commit 869ed05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tap_google_sheets/discover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def check_stream_access(client, spreadsheet_id) -> bool:
2828
def discover(client, spreadsheet_id):
2929
if not check_stream_access(client, spreadsheet_id):
3030
raise Exception(
31-
"Spreadsheet '{}' was not found or the credentials do not have access to it. "
32-
"Verify the spreadsheet ID and that the API credentials have the required permissions.".format(spreadsheet_id)
31+
f"Spreadsheet '{spreadsheet_id}' was not found or the credentials do not have access to it. "
32+
"Verify the spreadsheet ID and that the API credentials have the required permissions."
3333
)
3434

3535
catalog = Catalog([])

0 commit comments

Comments
 (0)