Bug #1172
Handle SpreadsheetNotFound exceptions better
Start date:
01/20/2016
Due date:
% Done:
100%
Description
Should instead indicate that the spreadsheet is likely not accessible by the service account.
2016-01-20 01:36:27,733 ERROR A general exception was thrown when executing the export Traceback (most recent call last): File "C:\Program Files\Splunk\etc\apps\google_drive\bin\google_spreadsheet.py", line 143, in export_file last_updated = google_lookup_sync.export_lookup_file(lookup_name, None, None, spreadsheet_title, worksheet_name, session_key) File "C:\Program Files\Splunk\etc\apps\google_drive\bin\google_drive_app\__init__.py", line 183, in export_lookup_file return self.export_lookup_file_full_path(destination_full_path, namespace, owner, google_spread_sheet_name, worksheet_name, session_key, lookup_name=lookup_name) File "C:\Program Files\Splunk\etc\apps\google_drive\bin\google_drive_app\__init__.py", line 217, in export_lookup_file_full_path google_spread_sheet = self.open_google_spreadsheet(google_spread_sheet_name) File "C:\Program Files\Splunk\etc\apps\google_drive\bin\google_drive_app\__init__.py", line 100, in open_google_spreadsheet google_spread_sheet = self.gspread_client.open(title) File "C:\Program Files\Splunk\etc\apps\google_drive\bin\google_drive_app\gspread\client.py", line 141, in open raise SpreadsheetNotFound SpreadsheetNotFound
History
#1 Updated by Luke Murphey almost 9 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100