{"record":{"id":"65a49c2e527a8978","repo":"theforeman/foreman","slug":"unable-to-fetch-logs","errorCode":null,"errorMessage":"Unable to fetch logs","messagePattern":"Unable to fetch logs","errorType":"exception","errorClass":"ProxyException","httpStatus":null,"severity":"error","filePath":"app/services/proxy_api/logs.rb","lineNumber":11,"sourceCode":"module ProxyAPI\n  class Logs < ProxyAPI::Resource\n    def initialize(args)\n      @url = args[:url] + \"/logs\"\n      super args\n    end\n\n    def all(from = 0)\n      parse(get(\"\", query: { from_timestamp: from }))\n    rescue => e\n      raise ProxyException.new(url, e, N_(\"Unable to fetch logs\"))\n    end\n  end\nend\n","sourceCodeStart":1,"sourceCodeEnd":15,"githubUrl":"https://github.com/theforeman/foreman/blob/6b05625475cfe6aac31a88f8c8ee6e62e4efe620/app/services/proxy_api/logs.rb#L1-L15","documentation":"Error \"Unable to fetch logs\" thrown in theforeman/foreman.","triggerScenarios":"Thrown at app/services/proxy_api/logs.rb:11 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6b05625475cfe6aac31a88f8c8ee6e62e4efe620","analyzedAt":"2026-08-23T17:46:34.094Z","schemaVersion":2},"datasetVersion":"2026-08-23T21:17:23.414Z"}