From 230d3e5fe8aeae8b174f309269c55dd1d557b8f0 Mon Sep 17 00:00:00 2001 From: TuxCoder Date: Sat, 15 Apr 2023 15:52:08 +0200 Subject: [PATCH] fix error messages --- lenticular_cloud/views/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lenticular_cloud/views/admin.py b/lenticular_cloud/views/admin.py index e7fda1f..da71066 100644 --- a/lenticular_cloud/views/admin.py +++ b/lenticular_cloud/views/admin.py @@ -84,7 +84,6 @@ async def clients() -> ResponseReturnValue: if clients is None: logger.error(f"could not fetch client list response {response}") return 'internal error', 500 - logger.error(f'{clients}') return render_template('admin/clients.html.j2', clients=clients) @admin_views.route('/client/', methods=['GET', 'POST']) @@ -120,7 +119,7 @@ async def client_new() -> ResponseReturnValue: resp_client = await create_o_auth_2_client.asyncio(json_body=client, _client=hydra_service.hydra_client) if resp_client is None: - logger.error(f"oauth2 client update failed: '{client.client_id}'") + logger.error(f"oauth2 client created failed: '{client.client_id}'") return 'internal error', 500 return redirect(url_for('.client', client_id=client.client_id))