[PR #726] [MERGED] do not ignore config parsing error #4242

Closed
opened 2026-05-05 14:38:20 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/726
Author: @0x127001
Created: 4/28/2018
Status: Merged
Merged: 5/2/2018
Merged by: @fatedier

Base: devHead: develop


📝 Commits (1)

  • b87df56 do not ignore config parsing error

📊 Changes

1 file changed (+8 additions, -4 deletions)

View changed files

📝 cmd/frps/root.go (+8 -4)

📄 Description

1、目前 server 对命令行解析出错或者配置文件解析出错时,这个 error 会被忽略掉,从而导致仍然使用 default 的配置


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/726 **Author:** [@0x127001](https://github.com/0x127001) **Created:** 4/28/2018 **Status:** ✅ Merged **Merged:** 5/2/2018 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `develop` --- ### 📝 Commits (1) - [`b87df56`](https://github.com/fatedier/frp/commit/b87df569e7645ebd5945e9d567ecde6c9ce60e4f) do not ignore config parsing error ### 📊 Changes **1 file changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmd/frps/root.go` (+8 -4) </details> ### 📄 Description 1、目前 server 对命令行解析出错或者配置文件解析出错时,这个 error 会被忽略掉,从而导致仍然使用 default 的配置 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:38:20 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4242
No description provided.