Page MenuHomeDevCentral

D112.diff
No OneTemporary

D112.diff

Index: Wearg/Notifications.tcl
===================================================================
--- Wearg/Notifications.tcl
+++ Wearg/Notifications.tcl
@@ -56,12 +56,17 @@
lappend params [dict get $notification $field]
}
+ set matchingBinds 0
foreach bind [binds] {
if {[is_matching_notification_bind $bind $notification]} {
set callback [lindex $bind 4]
$callback {*}$params
+ incr matchingBinds
}
}
+ if {$matchingBinds == 0} {
+ putdebug "No bind for queue $queue message $message"
+ }
}
proc get_notification_channel {project group} {
@@ -74,6 +79,7 @@
docker { return "#nasqueron-ops" }
ops { return "#nasqueron-ops" }
orgz { return "#nasqueron-ops" }
+ nasqueron { return "#nasqueron-logs" }
default {
putdebug "Message for unknown group: $project $group"
return "#nasqueron-logs"

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 10:47 (22 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231667
Default Alt Text
D112.diff (1 KB)

Event Timeline