added Hasaki crawler
This commit is contained in:
parent
64bfc00c1e
commit
b6bd5ca74b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue