From 9cfa60ae267f87224a71867a72c7181b1b4e6960 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 21 May 2021 14:23:35 +0100 Subject: [PATCH] CAPI: Make user-visible error text more obvious Mostly call out this is 'Frontier CAPI' related. --- companion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion.py b/companion.py index ca0a529c..4898cd84 100644 --- a/companion.py +++ b/companion.py @@ -541,7 +541,7 @@ class Session(object): except Exception as e: logger.debug('Attempting GET', exc_info=e) - raise ServerError(f'unable to get endpoint {endpoint}') from e + raise ServerError(f'Frontier CAPI query failure: {endpoint}') from e if r.url.startswith(SERVER_AUTH): logger.info('Redirected back to Auth Server')