AppFlowy-IO/AppFlowy-Cloud

[Bug] not clear error

Closed this issue · 1 comments

Describe the bug

appflowy_cloud-1  | {"timestamp":"2024-12-15T12:31:29.186668Z","level":"WARN","fields":{"message":"failed to read environment variable: environment variable not found, using default value: 50"},"target":"appflowy_collaborate::config","filename":"services/appflowy-collaborate/src/config.rs","line_number":136}

The message should be:

failed to read environment variable `VARIABLE_NAME`: environment variable `VARIABLE_NAME` not found, using default value: 50

Upgrade appflowy from a 0.8.3 to 0.8.8 without touching your vars

Expected behavior
I clear message with the not configured variable.

@henri9813 Thanks! I've fixed them in this PR.