more robust error handling, config hotreload

This commit is contained in:
Jacky Zhao 2023-08-05 11:28:09 -07:00
parent 9e76b257d4
commit c402f0c385
10 changed files with 151 additions and 145 deletions
quartz/processors

View file

@ -37,7 +37,6 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
}
} catch (err) {
trace(`Failed to emit from plugin \`${emitter.name}\``, err as Error)
throw err
}
}

View file

@ -103,7 +103,6 @@ export function createFileParser(ctx: BuildCtx, fps: FilePath[]) {
}
} catch (err) {
trace(`\nFailed to process \`${fp}\``, err as Error)
throw err
}
}