mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	added express-promise-wrap to catch and respond to unhandled exceptions immediately, previously the requests just hanged
This commit is contained in:
		| @@ -166,8 +166,6 @@ async function saveNoteImages(noteId, noteText, sourceId) { | ||||
|     let match; | ||||
|  | ||||
|     while (match = re.exec(noteText)) { | ||||
|         console.log(match); | ||||
|  | ||||
|         const imageId = match[1]; | ||||
|         const existingNoteImage = existingNoteImages.find(ni => ni.image_id === imageId); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user