ARKI_LOG_E005

thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.

What happened

`reconfigure()` was called on a handle that no longer owns the configuration.

Fix

Use the handle returned by the latest `configure()` call.

Check the fix

bun run test -- src/core/logging.test.ts

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/log
Version
0.3.0 · next release candidate
Source
src/core/errors.ts:41