Page MenuHomeDevCentral

Keep error handling system using message_die for SQL exceptions
ClosedPublic

Authored by dereckson on Tue, Oct 21, 20:07.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 14, 15:17
Unknown Object (File)
Fri, Nov 14, 05:26
Unknown Object (File)
Fri, Nov 14, 05:03
Unknown Object (File)
Fri, Nov 14, 04:57
Unknown Object (File)
Thu, Nov 13, 22:18
Unknown Object (File)
Thu, Nov 13, 08:34
Unknown Object (File)
Tue, Nov 11, 12:09
Unknown Object (File)
Sun, Nov 9, 09:18
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.Tue, Oct 21, 20:07
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)