When starting protonmail bridge with the -c argument and starting syncing, the word "hello!" keeps showing up. It brings no info to the user whatsoever, it's only taking up space.
The expected behavior is showing what the actual issue is, instead of just printing a static word. events.Raise should return a message that explains the error.
When starting protonmail bridge with the
-c
argument and starting syncing, the word "hello!" keeps showing up. It brings no info to the user whatsoever, it's only taking up space.It is caused by the code execution landing here https://github.com/ProtonMail/proton-bridge/blob/b84663dd7ab7ba891fe795e7c5681a48ab32f2fe/internal/frontend/cli/frontend.go#L495-L497
Expected Behavior
The expected behavior is showing what the actual issue is, instead of just printing a static word.
events.Raise
should return a message that explains the error.Current Behavior
Application randomly prints "Hello!"
Possible Solution
Several solutions. Fastest is removing the code at https://github.com/ProtonMail/proton-bridge/blob/b84663dd7ab7ba891fe795e7c5681a48ab32f2fe/internal/frontend/cli/frontend.go#L496
The proper way may be altering the
frontendCLI
structSteps to Reproduce
1. 2. 3. 4.
Version Information
Version: 3.11.1
Context (Environment)
Detailed Description
Possible Implementation