We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f73d70 commit eeb4de6Copy full SHA for eeb4de6
src/backend/backend_ga4.py
@@ -3,6 +3,8 @@
3
4
import json
5
import uuid
6
+import logging as log
7
+
8
from copy import copy
9
from urllib import request
10
@@ -46,19 +48,15 @@ def _send_func(request_data):
46
48
if self.backend_url.lower().startswith('http'):
47
49
req = request.Request(self.backend_url, data=data)
50
else:
-<<<<<<< Updated upstream
51
log.info("Incorrect backend URL.")
52
return
-=======
53
- raise ValueError("Incorrect backend URL.")
54
process = multiprocessing.Process(target=_send_func, args=(req,))
55
process.daemon = True
56
process.start()
57
58
process.join(self.timeout)
59
if process.is_alive():
60
process.terminate()
61
->>>>>>> Stashed changes
62
63
except Exception as err:
64
pass # nosec
0 commit comments