Restore missing errcheck
This commit is contained in:
		
							parent
							
								
									9e39680e3f
								
							
						
					
					
						commit
						5c7d4e5800
					
				|  | @ -1116,6 +1116,10 @@ func (wfe *WebFrontEndImpl) postChallenge( | |||
| 			returnAuthz = updatedAuthz | ||||
| 		} else { | ||||
| 			returnAuthz, err = wfe.RA.UpdateAuthorization(ctx, authz, challengeIndex, challengeUpdate) | ||||
| 			if err != nil { | ||||
| 				wfe.sendError(response, logEvent, web.ProblemDetailsForError(err, "Unable to update challenge"), err) | ||||
| 				return | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
|  | @ -1031,6 +1031,10 @@ func (wfe *WebFrontEndImpl) postChallenge( | |||
| 			returnAuthz = updatedAuthz | ||||
| 		} else { | ||||
| 			returnAuthz, err = wfe.RA.UpdateAuthorization(ctx, authz, challengeIndex, core.Challenge{}) | ||||
| 			if err != nil { | ||||
| 				wfe.sendError(response, logEvent, web.ProblemDetailsForError(err, "Unable to update challenge"), err) | ||||
| 				return | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue