@@ -169,7 +169,8 @@ async def wrapper(check): # sourcery no-metrics
169169 if Config .PRIVATE_GROUP_BOT_API_ID == 0 :
170170 return
171171 date = (datetime .datetime .now ()).strftime ("%m/%d/%Y, %H:%M:%S" )
172- ftext = f"\n Disclaimer:\n This file is pasted only here ONLY here,\
172+ ftext = (
173+ f"\n Disclaimer:\n This file is pasted only here ONLY here,\
173174 \n we logged only fact of error and date,\n we respect your privacy,\
174175 \n you may not report this error if you've\
175176 \n any confidential data here, no one will see your data\
@@ -180,6 +181,7 @@ async def wrapper(check): # sourcery no-metrics
180181 \n \n Event Trigger:\n { str (check .text )} \
181182 \n \n Traceback info:\n { str (traceback .format_exc ())} \
182183 \n \n Error text:\n { str (sys .exc_info ()[1 ])} "
184+ )
183185 new = {
184186 "error" : str (sys .exc_info ()[1 ]),
185187 "date" : datetime .datetime .now (),
@@ -309,7 +311,8 @@ async def wrapper(check):
309311 if Config .PRIVATE_GROUP_BOT_API_ID == 0 :
310312 return
311313 date = (datetime .datetime .now ()).strftime ("%m/%d/%Y, %H:%M:%S" )
312- ftext = f"\n Disclaimer:\n This file is pasted only here ONLY here,\
314+ ftext = (
315+ f"\n Disclaimer:\n This file is pasted only here ONLY here,\
313316 \n we logged only fact of error and date,\n we respect your privacy,\
314317 \n you may not report this error if you've\
315318 \n any confidential data here, no one will see your data\
@@ -320,6 +323,7 @@ async def wrapper(check):
320323 \n \n Event Trigger:\n { str (check .text )} \
321324 \n \n Traceback info:\n { str (traceback .format_exc ())} \
322325 \n \n Error text:\n { str (sys .exc_info ()[1 ])} "
326+ )
323327 new = {
324328 "error" : str (sys .exc_info ()[1 ]),
325329 "date" : datetime .datetime .now (),
0 commit comments