Skip to content

Commit eeb4de6

Browse files
committed
Fixed error.
1 parent 6f73d70 commit eeb4de6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/backend/backend_ga4.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import json
55
import uuid
6+
import logging as log
7+
68
from copy import copy
79
from urllib import request
810

@@ -46,19 +48,15 @@ def _send_func(request_data):
4648
if self.backend_url.lower().startswith('http'):
4749
req = request.Request(self.backend_url, data=data)
4850
else:
49-
<<<<<<< Updated upstream
5051
log.info("Incorrect backend URL.")
5152
return
52-
=======
53-
raise ValueError("Incorrect backend URL.")
5453
process = multiprocessing.Process(target=_send_func, args=(req,))
5554
process.daemon = True
5655
process.start()
5756

5857
process.join(self.timeout)
5958
if process.is_alive():
6059
process.terminate()
61-
>>>>>>> Stashed changes
6260

6361
except Exception as err:
6462
pass # nosec

0 commit comments

Comments
 (0)