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
Unknown Object (File)
Fri, Nov 28, 10:31
Unknown Object (File)
Fri, Nov 28, 09:26
Unknown Object (File)
Fri, Nov 28, 08:26
Unknown Object (File)
Wed, Nov 26, 02:08
Unknown Object (File)
Mon, Nov 24, 01:02
Unknown Object (File)
Sat, Nov 22, 06:45
Unknown Object (File)
Mon, Nov 17, 16:57
Unknown Object (File)
Fri, Nov 14, 15:17
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
Lint Not Applicable
Unit
Tests Not Applicable

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)