♻️ (viewer) Remove barrel exports and flatten folder arch
This commit is contained in:
11
apps/viewer/src/features/logs/saveErrorLog.ts
Normal file
11
apps/viewer/src/features/logs/saveErrorLog.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { saveLog } from './saveLog'
|
||||
|
||||
export const saveErrorLog = ({
|
||||
resultId,
|
||||
message,
|
||||
details,
|
||||
}: {
|
||||
resultId: string | undefined
|
||||
message: string
|
||||
details?: unknown
|
||||
}) => saveLog('error', resultId, message, details)
|
||||
Reference in New Issue
Block a user