mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06:00 
			
		
		
		
	Chore: Enable errorlint linter (#29227)
* Enable errorlint linter * Handle wrapped errors Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
		@@ -234,7 +234,7 @@ func isSilentError(err error) bool {
 | 
			
		||||
	continueErrs := []error{ErrInvalidCredentials, ErrCouldNotFindUser}
 | 
			
		||||
 | 
			
		||||
	for _, cerr := range continueErrs {
 | 
			
		||||
		if err == cerr {
 | 
			
		||||
		if errors.Is(err, cerr) {
 | 
			
		||||
			return true
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user