Added error stack to actor association fail.
This commit is contained in:
		
							parent
							
								
									8fdc313659
								
							
						
					
					
						commit
						2df3213936
					
				|  | @ -934,7 +934,9 @@ async function associatePeople(releases, batchId, type = 'actor') { | |||
| 
 | ||||
| 		return actors; | ||||
| 	} catch (error) { | ||||
| 		logger.error(`Failed to associate actors: ${error.message}`); | ||||
| 		logger.error(`Failed to associate actors: ${error.message} ${error.stack}`); | ||||
| 		logger.error(error); | ||||
| 		console.log(error); | ||||
| 
 | ||||
| 		return []; | ||||
| 	} | ||||
|  |  | |||
|  | @ -39,7 +39,7 @@ unprint.options({ | |||
| }); | ||||
| 
 | ||||
| unprint.on('requestInit', (event) => logger.debug(`Unprint ${event.method} (${event.interval}ms/${event.concurrency}p) ${event.url}`)); | ||||
| unprint.on('requestError', (event) => logger.error(`Unprint to fetch ${event.url} (${event.status}): ${event.statusText}`)); | ||||
| unprint.on('requestError', (event) => logger.error(`Unprint failed ${event.method} ${event.url} (${event.status}): ${event.statusText}`)); | ||||
| 
 | ||||
| /* | ||||
| function logActive() { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue