From 2bdfe2dd351141bf74294e5cba6611772af97576 Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Wed, 12 May 2021 19:30:59 +0100
Subject: [PATCH] Adding some output to the error of the merge_dicts message

---
 binarycpython/utils/functions.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/binarycpython/utils/functions.py b/binarycpython/utils/functions.py
index 935256e48..d6ad6922a 100644
--- a/binarycpython/utils/functions.py
+++ b/binarycpython/utils/functions.py
@@ -1341,8 +1341,8 @@ def merge_dicts(dict_1: dict, dict_2: dict) -> dict:
 
             else:
                 print(
-                    "Object types {},{} not supported".format(
-                        type(dict_1[key]), type(dict_2[key])
+                    "Object types {}: {} ({}), {} ({}) not supported.".format(
+                        key, dict_1[key], type(dict_1[key]), dict_2[key], type(dict_2[key])
                     )
                 )
                 raise ValueError
-- 
GitLab