You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow custom error handling for missing authentication.
Previously, the app exited immediately if no authentication
was configured. Now, an optional error handler can be provided,
enabling platform-aware and user-friendly shutdown behavior.
@@ -55,7 +55,9 @@ public IServiceCollection ConfigureEcoFlowAuthentication()
55
55
{
56
56
Console.WriteLine("⚠️ No authentication method configured.");
57
57
Console.WriteLine($"Set [{EcoFlowPrefix+accessKeyEnvironmentVariable} and {EcoFlowPrefix+secretKeyEnvironmentVariable}] or [{EcoFlowPrefix+usernameEnvironmentVariable} and {EcoFlowPrefix+passwordEnvironmentVariable}] environment variables.");
0 commit comments