{"id":20059529,"url":"https://github.com/elli-lib/elli_log_exceptions","last_synced_at":"2026-05-12T15:34:45.007Z","repository":{"id":57494747,"uuid":"212859074","full_name":"elli-lib/elli_log_exceptions","owner":"elli-lib","description":"Elli middleware that will log the exceptions that result in 500 status responses.","archived":false,"fork":false,"pushed_at":"2019-10-04T16:35:07.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-30T23:12:11.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elli-lib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-04T16:32:59.000Z","updated_at":"2019-10-04T16:38:44.000Z","dependencies_parsed_at":"2022-08-28T19:41:01.380Z","dependency_job_id":null,"html_url":"https://github.com/elli-lib/elli_log_exceptions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/elli-lib/elli_log_exceptions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elli-lib%2Felli_log_exceptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elli-lib%2Felli_log_exceptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elli-lib%2Felli_log_exceptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elli-lib%2Felli_log_exceptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elli-lib","download_url":"https://codeload.github.com/elli-lib/elli_log_exceptions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elli-lib%2Felli_log_exceptions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32945669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T13:08:04.770Z","updated_at":"2026-05-12T15:34:44.968Z","avatar_url":"https://github.com/elli-lib.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"elli_log_exceptions\n=====\n\n[Elli](https://github.com/elli-lib/elli) middleware that will log exceptions at a configurable log level and with or without the full stacktrace:\n\n```erlang\nElliOpts = [{callback, elli_middleware},\n            {callback_args, [{mods, [{elli_log_exceptions, elli_log_exceptions:config([])},\n                                     ...]}]},\n            {port, 3000}],\n\nElliChildSpec = #{id =\u003e elli_handler,\n                  start =\u003e {elli, start_link, [ElliOpts]},\n                  restart =\u003e permanent,\n                  type =\u003e worker,\n                  modules =\u003e [elli_log_exceptions]},\n```\n\n`elli_log_exceptions:config/1` takes a proplist of options:\n\n* `level`: The logger level to log the exception (example, `{level, error}`).\n* `include_stacktrace`: If true the log will include the stacktrace from the exception.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felli-lib%2Felli_log_exceptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felli-lib%2Felli_log_exceptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felli-lib%2Felli_log_exceptions/lists"}