mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 04:18:16 +03:00
fix: log orphan id here since it doesn't make it to seq?
This commit is contained in:
@@ -99,10 +99,13 @@ export async function ReprocessOrphan(
|
||||
// this is impossible to test, so we're going to ignore it
|
||||
/* istanbul ignore next */
|
||||
if (!("failureType" in err)) {
|
||||
logger.error(`Converter function ${orphan.importType} returned unexpected error.`, {
|
||||
err,
|
||||
orphan,
|
||||
});
|
||||
logger.error(
|
||||
`Converter function ${orphan.importType} returned unexpected error. ID=${orphan.orphanID}`,
|
||||
{
|
||||
err,
|
||||
orphan,
|
||||
}
|
||||
);
|
||||
|
||||
// throw this higher up, i guess.
|
||||
throw err;
|
||||
|
||||
Reference in New Issue
Block a user