ProtonMail / proton-bridge

Proton Mail Bridge application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Hello!" being randomly printed in the cli interface

Aadniz opened this issue · comments

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.

image

It is caused by the code execution landing here

case events.Raise:
f.Printf("Hello!")
}

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

The proper way may be altering the frontendCLI struct

Steps to Reproduce

Version Information

Version: 3.11.1

Context (Environment)

Detailed Description

Possible Implementation