lib/utilities/telegram.rb
# Send an exception stacktrace as message via Telegram.
Send an exception stacktrace as message via Telegram.
Send an exception stacktrace as message via Telegram .
def exception(exception)
      body = <<~TXT
        #{header('exception', type: :error)}
        `#{Time.now.iso8601}`
        `#{exception.class}`
        `#{exception.message}`
      TXT
      call(body, swallow_ex: true)
    end
def exception ( exception ) body = <<~TXT #{ header ( 'exception' , type : :error ) } 

        ` #{ Time . now . iso8601 } `
        ` #{ exception . class } `
        ` #{ exception . message } `
       TXT call ( body , swallow_ex : true ) end
Send an exception stacktrace as message via Telegram.
Send an exception stacktrace as message via Telegram .
exception
<not_specific>