| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,10 +57,9 @@ def refresh(self, request): | |||
| 57 | 57 | raise RefreshError('Unable to refresh access token due to connection error.') from e | |
| 58 | 58 | except Exception as e: | |
| 59 | 59 | Log.error(f"Error trying to refresh access token: {e}") | |
| 60 | - if (not get_integrations().has_bigquery() and self.target == GcpTarget.BIGQUERY): | ||
| 61 | - Log.error(f"No bigquery integration found.") | ||
| 62 | - print( | ||
| 63 | - 'Please ensure you have selected a BigQuery account in the Kernels Settings sidebar.') | ||
| 60 | + Log.error(f"No {self.target.service} integration found.") | ||
| 61 | + print( | ||
| 62 | + f"Please ensure you have selected a {self.target.service} account in the Kernels Settings sidebar.") | ||
| 64 | 63 | raise RefreshError('Unable to refresh access token.') from e | |
| 65 | 64 | ||
| 66 | 65 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments