fix(users/Profpatsch/lyric/ext): print upload message to log
Change-Id: I178077894eb78c9f9cb5da07c1be23b7dba6c7cb Reviewed-on: https://cl.tvl.fyi/c/depot/+/12576 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
		
							parent
							
								
									05c7230127
								
							
						
					
					
						commit
						f4d2d3ccec
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -533,8 +533,10 @@ async function uploadToLrclibDotNet() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (res) {
 | 
					  if (res) {
 | 
				
			||||||
    vscode.window.showInformationMessage('Lyrics successfully uploaded.');
 | 
					    vscode.window.showInformationMessage('Lyrics successfully uploaded.');
 | 
				
			||||||
 | 
					    channel_global.appendLine('Lyrics successfully uploaded.');
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
    vscode.window.showErrorMessage('Failed to upload lyrics.');
 | 
					    vscode.window.showErrorMessage('Failed to upload lyrics.');
 | 
				
			||||||
 | 
					    channel_global.appendLine('Failed to upload lyrics.');
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue