added Hasaki crawler

This commit is contained in:
Shariar Imtiaz 2024-03-27 11:02:55 +04:00
parent 64bfc00c1e
commit b6bd5ca74b
1 changed files with 2 additions and 2 deletions

View File

@ -144,10 +144,10 @@ if __name__ == "__main__":
cur.close()
conn.close()
#send_mail("Hasaki crawler run complete.")
send_mail("Hasaki crawler run complete.")
except Exception as e:
logging.info("Error: ".format(e))
logging.info("Error occurred. Please check config file or the internal SQLLITE DB. Exiting......")
#send_mail("Error occurred. Please check config file or the internal SQLLITE DB.")
send_mail("Error occurred. Please check config file or the internal SQLLITE DB.")
exit(1)