DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
639 stars 172 forks source link

fix: Add exception inheritance for CppSQLite3Exception, harder try catch re-throw in exception handler #1544

Closed EmosewaMC closed 5 months ago

EmosewaMC commented 5 months ago

Allows this to be caught in our exception handler by name. Fixes the try catch re-throw to catch any exception if the exception re-thrown does not inherit std::exception.

Tested that replacing a dummy query.bind with a non-existent field