mirror of
				https://github.com/yangjian102621/geekai.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	opt: return error when download mj image failed
This commit is contained in:
		@@ -108,7 +108,7 @@ func (h *MidJourneyHandler) Notify(c *gin.Context) {
 | 
			
		||||
		imgURL, err := h.uploaderManager.GetUploadHandler().PutImg(data.Image.URL)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			logger.Error("error with download image: ", err)
 | 
			
		||||
			resp.SUCCESS(c)
 | 
			
		||||
			resp.ERROR(c, err.Error())
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user