fix: better error message handling
This commit is contained in:
		
							parent
							
								
									23214dc9a8
								
							
						
					
					
						commit
						5724ca346f
					
				| @ -12,7 +12,7 @@ const selectedNodes = computed(() => { | |||||||
|     return XPathEngine.select(xpath.value, doc); |     return XPathEngine.select(xpath.value, doc); | ||||||
|   } |   } | ||||||
|   catch (e: any) { |   catch (e: any) { | ||||||
|     return e.toString(); |     return [e.toString()]; | ||||||
|   } |   } | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user