{"record":{"id":"464c9b4407e930bf","repo":"goharbor/harbor","slug":"no-log-data-getter-is-configured","errorCode":null,"errorMessage":"no log data getter is configured","messagePattern":"no log data getter is configured","errorType":"http","errorClass":null,"httpStatus":500,"severity":"error","filePath":"src/jobservice/logger/log_data_handler.go","lineNumber":27,"sourceCode":"// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage logger\n\nimport (\n\t\"errors\"\n\n\t\"github.com/goharbor/harbor/src/jobservice/logger/getter\"\n)\n\n// Retrieve is wrapper func for getter.Retrieve\nfunc Retrieve(logID string) ([]byte, error) {\n\tval, ok := singletons.Load(systemKeyLogDataGetter)\n\tif !ok {\n\t\treturn nil, errors.New(\"no log data getter is configured\")\n\t}\n\n\treturn val.(getter.Interface).Retrieve(logID)\n}\n","sourceCodeStart":9,"sourceCodeEnd":32,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/jobservice/logger/log_data_handler.go#L9-L32","documentation":"Error \"no log data getter is configured\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/jobservice/logger/log_data_handler.go:27 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":"7b2fd08cc568955cca339afeefab27372840d936","analyzedAt":"2026-08-16T00:00:10.961Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}