Page MenuHomeDevCentral

Keep error handling system using message_die for SQL exceptions
ClosedPublic

Authored by dereckson on Oct 21 2025, 20:07.
Tags
None
Referenced Files
F48947617: D3790.diff
Wed, Sep 9, 14:18
Unknown Object (File)
Sat, Sep 5, 10:01
Unknown Object (File)
Sat, Aug 29, 21:50
Unknown Object (File)
Sat, Aug 29, 12:19
Unknown Object (File)
Sat, Aug 29, 02:38
Unknown Object (File)
Sun, Aug 23, 13:27
Unknown Object (File)
Sat, Aug 22, 02:21
Unknown Object (File)
Thu, Aug 20, 13:16
Subscribers
None

Details

Summary

By default, Keruald Database is configured to throw exceptions
when a SQL error occurs.

The current handling error code checks the false value,
and calls message_die() with SQL_ERROR code. This mechanism
requires to configure Keruald Database to use legacy mode.

This is a transitional change pending implementation
of an exception handler.

Test Plan

Before: error logged, 500 served

After: explicit error message

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 6069
Build 6353: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Oct 21 2025, 20:07
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)