{"record":{"id":"07b36d726e1861b7","repo":"Semantic-Org/Semantic-UI","slug":"error-in-debug-logging-exiting","errorCode":null,"errorMessage":"Error in debug logging, exiting.","messagePattern":"Error in debug logging, exiting\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"src/definitions/modules/search.js","lineNumber":1301,"sourceCode":"\n  onResultsOpen  : function(){},\n  onResultsClose : function(){},\n\n  className: {\n    animating : 'animating',\n    active    : 'active',\n    empty     : 'empty',\n    focus     : 'focus',\n    hidden    : 'hidden',\n    loading   : 'loading',\n    results   : 'results',\n    pressed   : 'down'\n  },\n\n  error : {\n    source          : 'Cannot search. No source used, and Semantic API module was not included',\n    noResults       : 'Your search returned no results',\n    logging         : 'Error in debug logging, exiting.',\n    noEndpoint      : 'No search endpoint was specified',\n    noTemplate      : 'A valid template name was not specified.',\n    oldSearchSyntax : 'searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.',\n    serverError     : 'There was an issue querying the server.',\n    maxResults      : 'Results must be an array to use maxResults setting',\n    method          : 'The method you called is not defined.'\n  },\n\n  metadata: {\n    cache   : 'cache',\n    results : 'results',\n    result  : 'result'\n  },\n\n  regExp: {\n    escape     : /[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\n    beginsWith : '(?:\\s|^)'\n  },","sourceCodeStart":1283,"sourceCodeEnd":1319,"githubUrl":"https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/search.js#L1283-L1319","documentation":"This string is declared in search.js settings.error.logging but is NOT wired to any module.error() call in this module (no throw site in search.js). It appears to be a reserved/legacy message intended for a debug-logging failure path that the current code never reaches. You should not encounter it from search.js in this version.","triggerScenarios":"No active code path in src/definitions/modules/search.js references error.logging; it cannot be produced by the current module. It would only appear if a custom build or downstream fork added a module.error(error.logging) call in a debug/performance logging branch.","commonSituations":"Seeing this string while grepping settings; assuming search threw it when in fact another log statement or a different module produced similar text; a forked/older version that previously called it.","solutions":["Treat this as dead configuration: no action is needed because search.js never invokes it.","If you are forking, either wire it into a try/catch around console.table/console.group usage or remove the unused key.","Search the full bundle/minified output to confirm no custom code calls settings.error.logging."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"// No runtime guard needed: confirm the string is unreferenced in your build\n// Run once during build audit (bash): grep -rn \"error.logging\" src/definitions/modules/search.js","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Treat this as dead config; do not expect it to fire from search.js.","When forking, wire or remove unused error keys explicitly.","Audit settings.error keys against throw sites when upgrading."],"tags":["search","dead-code","logging","semantic-ui"],"backgroundTag":null,"analyzedSha":"597843ab84d565cccfd8fd7719416350ae73e734","analyzedAt":"2026-08-13T01:44:23.827Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}