Badge grant fails if any throw exception

Continuing the discussion from [solved] Badges 'update daily' won't trigger:

1 Like

@sam it’s bad that one rogue query can stop all the daily badges, people should get a /admin alert for this

Sure PR to fix this welcome, we should also be logging warnings for any “delta” query that takes longer than 200ms and daily that takes longer than 2 seconds (configurable in site settings)

1 Like

No /admin alert, logging of long queries not included