Page MenuHomeDevCentral

Keep error handling system using message_die for SQL exceptions
ClosedPublic

Authored by dereckson on Tue, Oct 21, 20:07.

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.Tue, Oct 21, 20:07
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)