Skip to content

craft-hub / collectWorkbenchDiagnostics

Function: collectWorkbenchDiagnostics() ​

collectWorkbenchDiagnostics(sources, checkedAt?): WorkbenchDiagnosticSnapshot

Defined in: packages/craft-hub/src/diagnostics.ts:182

Normalize host, Marketplace, integration, and configuration failures behind one small client-facing interface. Source-specific recovery remains in the owning module; diagnostics only identify the target users should inspect.

Parameters ​

sources ​

WorkbenchDiagnosticSources

checkedAt? ​

string = ...

Returns ​

WorkbenchDiagnosticSnapshot

Released under the MIT License.