Closed Resousse closed 10 months ago
Issue https://github.com/thewhiteh4t/seeker/issues/464 shows an unexpected error, this PR improves the error management.
Cause : Error management has been converted from : utils.print(f'{R}[-] {C}Unable to send to Telegram bot {W}'+r.status_code+" => "+r.text) to utils.print(f'{R}[-] {C}Unable to send to Telegram bot {W}\n{rqst.status_code} => {+rqst.text}')
utils.print(f'{R}[-] {C}Unable to send to Telegram bot {W}'+r.status_code+" => "+r.text)
utils.print(f'{R}[-] {C}Unable to send to Telegram bot {W}\n{rqst.status_code} => {+rqst.text}')
There was an extra "+" sign.
Issue https://github.com/thewhiteh4t/seeker/issues/464 shows an unexpected error, this PR improves the error management.
Cause : Error management has been converted from :
utils.print(f'{R}[-] {C}Unable to send to Telegram bot {W}'+r.status_code+" => "+r.text)
toutils.print(f'{R}[-] {C}Unable to send to Telegram bot {W}\n{rqst.status_code} => {+rqst.text}')
There was an extra "+" sign.