mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	clarify "failed to resolve quote" message
This commit is contained in:
		
							parent
							
								
									2afbd251e1
								
							
						
					
					
						commit
						b9fd7e1b77
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -313,7 +313,7 @@ export class ApNoteService {
 | 
			
		|||
			quote = results.filter((x): x is { status: 'ok', res: MiNote } => x.status === 'ok').map(x => x.res).at(0);
 | 
			
		||||
			if (!quote) {
 | 
			
		||||
				if (results.some(x => x.status === 'temperror')) {
 | 
			
		||||
					throw new Error(`quote resolve failed: ${entryUri}`);
 | 
			
		||||
					throw new Error(`failed to resolve quote for ${entryUri}`);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			@ -542,7 +542,7 @@ export class ApNoteService {
 | 
			
		|||
			quote = results.filter((x): x is { status: 'ok', res: MiNote } => x.status === 'ok').map(x => x.res).at(0);
 | 
			
		||||
			if (!quote) {
 | 
			
		||||
				if (results.some(x => x.status === 'temperror')) {
 | 
			
		||||
					throw new Error(`quote resolve failed: ${noteUri}`);
 | 
			
		||||
					throw new Error(`failed to resolve quote for ${noteUri}`);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue