meshery/meshery

Replace raw error with ErrBuildOCIImg in ExportModel handler

Open

#19,424 opened on 2026年5月15日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)HTML (10,013 stars) (3,101 forks)batch import
area/ciarea/devopshelp wanted

説明

Current Behavior

Current Behavior
In ExportModel when BuildImage fails, a raw Go error is logged instead of a structured meshkit error

Desired Behavior

Use the existing ErrBuildOCIImg (already defined in error.go:610 used in meshery_pattern_handler.go:934):

h.log.Error(ErrBuildOCIImg(err))
http.Error(rw, ErrBuildOCIImg(err).Error(), http.StatusInternalServerError)

Implementation

Acceptance Tests


Contributor Guides and Handbook

コントリビューターガイド