Disable splitting lines in pretty error messages (#6171)
In a small window, UI error tries to split lines for an eye candy error message. However, since we show some docs.minio.io links in some error messages, these links are actually broken and not easily selected in a X terminal. This PR changes the behavior and won't split lines anymore.
This commit is contained in:
@@ -19,8 +19,8 @@ package cmd
|
||||
var (
|
||||
uiErrInvalidConfig = newUIErrFn(
|
||||
"Invalid value found in the configuration file",
|
||||
"Please ensure a valid value in the configuration file, for more details refer https://docs.minio.io/docs/minio-server-configuration-guide",
|
||||
"",
|
||||
"Please ensure a valid value in the configuration file",
|
||||
"For more details, refer to https://docs.minio.io/docs/minio-server-configuration-guide",
|
||||
)
|
||||
|
||||
uiErrInvalidBrowserValue = newUIErrFn(
|
||||
|
||||
Reference in New Issue
Block a user