Add tracing to TextHelper, DocumentConverter

This commit is contained in:
Tom Moor
2024-02-07 22:09:21 -05:00
parent 140e685d67
commit 8e66354cce
2 changed files with 4 additions and 0 deletions

View File

@@ -2,8 +2,10 @@ import escapeRegExp from "lodash/escapeRegExp";
import { simpleParser } from "mailparser";
import mammoth from "mammoth";
import { FileImportError } from "@server/errors";
import { trace } from "@server/logging/tracing";
import turndownService from "@server/utils/turndown";
@trace()
export class DocumentConverter {
/**
* Convert an incoming file to markdown.