Skip to content

Commit 25d735a

Browse files
authored
Add logs url on failure (#642)
* Add logs url on failure * tab space, not tab * avoid the possible KeyError
1 parent 7fab75d commit 25d735a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rsconnect/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ def app_access(self, app_guid: str) -> None:
354354
if self.is_app_failed_response(response):
355355
raise RSConnectException(
356356
"Could not access the deployed content. "
357-
+ "The app might not have started successfully. "
358-
+ "Visit it in Connect to view the logs."
357+
+ "The app might not have started successfully."
358+
+ f"\n\t For more information: {self.app_config(app_guid).get('logs_url')}"
359359
)
360360

361361
def bundle_download(self, content_guid: str, bundle_id: str) -> HTTPResponse:

0 commit comments

Comments
 (0)