Bind CultMesh authority identity to physical routes
This commit is contained in:
parent
21163d83fa
commit
6c848bd6c0
45 changed files with 1671 additions and 194 deletions
|
|
@ -86,7 +86,11 @@ try {
|
|||
window.__sampleCount = decodeCultNetPayload<{ count: number }>(counter.current!).count;
|
||||
window.__sampleReady = true;
|
||||
} catch (error) {
|
||||
window.__sampleError = error instanceof Error ? error.stack || error.message : String(error);
|
||||
const details = error instanceof AggregateError
|
||||
? error.errors.map(inner => inner instanceof Error ? inner.stack || inner.message : String(inner)).join("\n---\n")
|
||||
: "";
|
||||
window.__sampleError = (error instanceof Error ? error.stack || error.message : String(error))
|
||||
+ (details ? `\n${details}` : "");
|
||||
host.textContent = window.__sampleError;
|
||||
throw error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue