soonq/broker.py
def update_exc_info(self, item, traceback):
        """Update exception info for the given item."""
        con = sqlite3.connect(str(DB_PATH))
        with con:
            con.execute(
                f"""
                UPDATE {WORK_TABLENAME}
                SET err = ?
                WHERE task_id = ?
                """,
                (traceback, item.task_id),
            )
        con.close()
Update exception info for the given item.
Update exception info for the given item.
Update exception info for the given item .
def update_exc_info(self, item, traceback):
        con = sqlite3.connect(str(DB_PATH))
        with con:
            con.execute(
                f"""
                UPDATE {WORK_TABLENAME}
                SET err = ?
                WHERE task_id = ?
                """,
                (traceback, item.task_id),
            )
        con.close()
def update_exc_info ( self , item , traceback ) : con = sqlite3 . connect ( str ( DB_PATH ) ) with con : con . execute ( f"""
                UPDATE {WORK_TABLENAME}
                SET err = ?
                WHERE task_id = ?
                """ , ( traceback , item . task_id ) , ) con . close ( )
Update exception info for the given item.
Update exception info for the given item .
"""Update exception info for the given item."""
self
item
traceback