UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 936 B
import{t as DatabasePortDataError}from"../../postgres-store-metadata-BAneIabP.mjs";import{t as databasePortProviders}from"../../port-provider-CdqIxw1H.mjs";import{n as serveWorkerTasks}from"../../worker-task-server-BeWxX5OH.mjs";import"../../port.worker-L-VIbCDt.mjs";import{n as executeDatabasePortTask}from"../../port-command.worker-nUExWYn5.mjs"; //!src/infra/database-engine/port-command.entry.worker.ts serveWorkerTasks((e,t,n)=>n.runNativeSection(async()=>{try{return await executeDatabasePortTask(e,n.throwIfCancelled)}catch(t){const n=t instanceof DatabasePortDataError?t.message:`observed database validation or I/O failure; required readable, valid data and namespace privileges`;throw new Error(`${e.operation}: ${`sourcePath`in e?e.sourcePath:databasePortProviders.map(e=>e.id).join(`, `)}: ${n}. Stop the Gateway, correct the source or connection, then retry or use the retained recovery manifest.`,{cause:t})}}));export{};