from sqlite3 import Row
from datetime import datetime
from plomtask.db import DatabaseConnection
-from plomtask.misc import HandledException
+from plomtask.exceptions import NotFoundException
class Process:
break
if not process:
if not create:
- raise HandledException(f'Process not found of id: {id_}')
+ raise NotFoundException(f'Process not found of id: {id_}')
process = Process(id_)
if process:
for row in db_conn.exec('SELECT * FROM process_titles '