From e74ebcde9005413128323c6fc94b81a4c6f93a6d Mon Sep 17 00:00:00 2001 From: Fred Park Date: Fri, 23 Feb 2018 13:44:50 -0800 Subject: [PATCH] Expand error details for node errors --- convoy/batch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/convoy/batch.py b/convoy/batch.py index a30407d..cc3d4ae 100644 --- a/convoy/batch.py +++ b/convoy/batch.py @@ -2438,6 +2438,8 @@ def list_nodes(batch_client, config, pool_id=None, nodes=None): if node.errors is not None: for err in node.errors: errors.append(' * {}: {}'.format(err.code, err.message)) + for de in err.error_details: + errors.append(' * {}: {}'.format(de.name, de.value)) else: errors = [' * no errors'] st = [' * start task:']