Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3715896
D112.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D112.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D112: Tweak notifications
Attached
Detach File
Event Timeline
Log In to Comment