Writing media associations to disk for debugging.
This commit is contained in:
@@ -846,6 +846,7 @@ async function associateReleaseMedia(releases, type = 'release') {
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(associations);
|
||||
await fs.promises.writeFile(`./associations-${Date.now()}`, JSON.stringify(associations, null, 4));
|
||||
throw error;
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user