mirror of
https://github.com/michivonah/themepark-assistant.git
synced 2025-12-22 22:16:29 +01:00
improve error handling in background jobs #3
This commit is contained in:
parent
6a60e3c10a
commit
04ae271e1e
8 changed files with 75 additions and 27 deletions
|
|
@ -4,7 +4,7 @@ import { UserSelect } from "../types/user";
|
|||
import { user } from "../db/schema";
|
||||
import { like } from "drizzle-orm";
|
||||
import { DrizzleD1Database } from "drizzle-orm/d1";
|
||||
import { MissingMailError, UserInactiveError, DatabaseError } from "../types/error";
|
||||
import { MissingMailError, UserInactiveError, DatabaseError } from "../errors/http-error";
|
||||
|
||||
/**
|
||||
* Returns the details of a user from the given context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue