mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 18:02:25 -05:00 
			
		
		
		
	[chore/bugfix] Demote failed inbox forwarding to warn log rather than error return (#1892)
This commit is contained in:
		
					parent
					
						
							
								24fbdf2b0a
							
						
					
				
			
			
				commit
				
					
						827cc4df56
					
				
			
		
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -231,8 +231,9 @@ func (f *federatingActor) PostInboxScheme(ctx context.Context, w http.ResponseWr | ||||||
| 		// is updated, and/or federating callbacks are handled | 		// is updated, and/or federating callbacks are handled | ||||||
| 		// properly. | 		// properly. | ||||||
| 		if !errors.Is(err, db.ErrAlreadyExists) { | 		if !errors.Is(err, db.ErrAlreadyExists) { | ||||||
| 			err = fmt.Errorf("PostInboxScheme: error calling sideEffectActor.InboxForwarding: %w", err) | 			// Failed inbox forwarding is not a show-stopper, | ||||||
| 			return false, gtserror.NewErrorInternalError(err) | 			// and doesn't even necessarily denote a real error. | ||||||
|  | 			l.Warnf("error calling sideEffectActor.InboxForwarding: %q", err) | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue