discourse/plugins/automation/spec/models
Joffrey JAFFEUX 01ce003b8e
FIX: logs time even when automation raises (#32254)
The previous code could attempt to log a `nil` `run_time` if the block
would raise an exception. This commit adds two safeguards:

- rescue any exception to still compute `run_time`
- defaults to `0` if we still don't have any `run_time`
2025-04-10 11:05:53 +02:00
..
automation_spec.rb
field_spec.rb FEATURE: enhance post created edited trigger in automation (#31900) 2025-03-20 08:05:06 +11:00
stat_spec.rb FIX: logs time even when automation raises (#32254) 2025-04-10 11:05:53 +02:00
user_global_notice_spec.rb