Skip to content

annatel/queuetopia_bug_reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QueuetopiaBugReporter

TODO: Add description

Installation

If available in Hex, the package can be installed by adding queuetopia_bug_reporter to your list of dependencies in mix.exs:

def deps do
  [
    {:queuetopia_bug_reporter, "~> 0.1.0"}
  ]
end

To config, add the code below in the config/runtime.exs file.

config :queuetopia_bug_reporter,
    from_email_address: System.fetch_env!("FROM_EMAIL_ADDRESS"),
    to_email_address: System.fetch_env!("TO_EMAIL_ADDRESS"),
    min_job_attempts_for_alert:
      System.get_env("MIN_JOB_ATTEMPTS_FOR_ALERT", "1") |> String.to_integer()

config :queuetopia_bug_reporter, QueuetopiaBugReporter.Mailer,
  adapter: Swoosh.Adapters.SMTP,
  relay: System.get_env("SMTP_RELAY"),
  port: System.get_env("SMTP_PORT", "1025") |> String.to_integer(),
  retries: System.get_env("SMTP_RETRIES", "5") |> String.to_integer()

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/queuetopia_bug_reporter.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published