-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extended list of broken contact errors #729
Extended list of broken contact errors #729
Conversation
574c980
to
aeda94a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done, but make some small changes please :)
|
||
func TestCheckBrokenContactError(t *testing.T) { | ||
logger, _ := logging.ConfigureLog("stdout", "debug", "test", true) | ||
Convey("Check broken contact error", t, func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convey("Check broken contact error", t, func() { | |
Convey("During checking broken contact error", t, func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like original wording more, I feel it's more correct. How big is the value in difference with your proposed phrase? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to follow the test framework author's examples, but if you want to leave it like that, then ok :)
aeda94a
to
7a7bcb7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ok now ) Thanks
7c364b9
7a7bcb7
to
7c364b9
Compare
7c364b9
to
83bded8
Compare
Extended list of broken contact errors in telegram notifier sender
Broken contact errors are basically kind of rare user scenarious treated separately. Particularly they aren't resent and they are just warnings in logs. This PR extends that list with couple of telegram-specific scenarious:
ErrNoRightsToSendPhoto
,ErrNoRightsToSend
)ErrChatNotFound
)