elementary
elementary copied to clipboard
[ELE-2165] No error message on channel ID not found in send report
Describe the bug (https://elementary-community.slack.com/archives/C02CTC89LAX/p1702480558077509?thread_ts=1678995868.791089&cid=C02CTC89LAX)
To Reproduce
edr send-report
set channel name containing the leading #
Expected behavior A clear error message the channel ID was not found Though since sending the file requires a channel ID and the search is based on the channel name the channel id is not found because of the leading # - the message is being sent to the channel, making you think all is well, while the report send is failing with no additional information
Screenshots
Additional context I'd think there are three possible action items here:
- Better logging in case the channel ID is not found in the
_get_channel_idfunction - Shouldn’t send an empty channel ID if one is not found (in
send_file) - Adding a flag for channel_id is also possible for people who don’t want to wait for the search
From SyncLinear.com | ELE-2165