You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Webhook there is no information about which mode (environment) rails was running (staging, production, qa).
The payload does not provide such information (not even in environment payload) so if you have auto scale (random hostname) and hundreds of instances in both qa environment and production environment and an error has occurred, then by the time you read the webhook those instances are now gone (auto scale down) and you don't know which env that was from.
It is possible to add the following code in
method "def call(exception, options = {})"
right after options[:body][:rails_root]
Feature request
In Webhook there is no information about which mode (environment) rails was running (staging, production, qa).
The payload does not provide such information (not even in environment payload) so if you have auto scale (random hostname) and hundreds of instances in both qa environment and production environment and an error has occurred, then by the time you read the webhook those instances are now gone (auto scale down) and you don't know which env that was from.
It is possible to add the following code in
method "def call(exception, options = {})"
right after
options[:body][:rails_root]
File: "lib/exception_notifier/webhook_notifier.rb"
Code
Thanks
The text was updated successfully, but these errors were encountered: