cloudwego / hertz

Go HTTP framework with high-performance and strong-extensibility for building micro-services.
https://www.cloudwego.io
Apache License 2.0
5.04k stars 491 forks source link

optimize: non-existent file error for binding #1135

Closed FGYFFFF closed 2 months ago

FGYFFFF commented 2 months ago

What type of PR is this?

optimize

Check the PR title.

(Optional) Translate the PR title into Chinese.

优化绑定文件时,如果文件不存在则不报错,而是 warning

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: optimize file unexist error for binding zh(optional): 优化绑定文件场景;如果文件不存在,则打warning 提醒;而不是返回 error,导致用户其他 field 无法绑定

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation: