mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 13:53:22 +02:00
add reason to leave callback (#833)
trace reason why phone reservation is leave Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3ae7ed5aa6
commit
fe79678ab5
@@ -76,7 +76,7 @@ module.exports = syrup.serial()
|
||||
plugin.leave = function(reason) {
|
||||
return plugin.get()
|
||||
.then(function(group) {
|
||||
log.important('No longer owned by "%s"', group.email)
|
||||
log.important('No longer owned by "%s" (reason: %s)', group.email, reason)
|
||||
log.info('Unsubscribing from group channel "%s"', group.group)
|
||||
|
||||
channels.unregister(group.group)
|
||||
|
||||
Reference in New Issue
Block a user