diff --git a/buildroot/share/scripts/upload.py b/buildroot/share/scripts/upload.py
index 31d5620f4e6..52fa1abc549 100644
--- a/buildroot/share/scripts/upload.py
+++ b/buildroot/share/scripts/upload.py
@@ -84,9 +84,9 @@ def Upload(source, target, env):
             try:
                 clean_response = Resp.decode('utf8').rstrip().lstrip()
                 clean_responses.append(clean_response)
+                debugPrint(f'<< {clean_response}')
             except:
                 pass
-            debugPrint(f'<< {clean_response}')
         return clean_responses
 
     #------------------#