Fix merge issues
diff --git a/g4f/Provider/bing/upload_image.py b/g4f/Provider/bing/upload_image.py
index 041905fdd9..d92451fa7a 100644
--- a/g4f/Provider/bing/upload_image.py
+++ b/g4f/Provider/bing/upload_image.py
@@ -3,17 +3,14 @@
 import string
 import random
 import json
-import io
-import base64
 import math
-from PIL import Image
 from ...typing import ImageType
 from aiohttp import ClientSession
 from ...image import to_image, process_image, to_base64
 
 image_config = {
     "maxImagePixels": 360000,
-    "imageComp.ssionRate": 0.7,
+    "imageCompressionRate": 0.7,
     "enableFaceBlurDebug": 0,
 }
 
diff --git a/g4f/gui/server/backend.py b/g4f/gui/server/backend.py
index 3ccd1a595e..9d12bea5f7 100644
--- a/g4f/gui/server/backend.py
+++ b/g4f/gui/server/backend.py
@@ -110,7 +110,8 @@ def try_response():
                             'provider': get_last_provider(True)
                         }) + "\n"
                     if isinstance(chunk, Exception):
-                         yield json.dumps({
+                        logging.exception(chunk)
+                        yield json.dumps({
                             'type'   : 'message',
                             'message': get_error_message(chunk),
                         }) + "\n"
