You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm extending pREST and using config.PrestConf.Adapter.* to directly manipulate the database.
If someone happens to send an incorrect URL to the server, such as: http://example.com/nondb/public/tablename (with a database that doesn't exist) the server tries to open the db, fails and returns the error as expected but it loses the old connection or database name. Then no direct SQL statement will work anymore.
If I send a valid URL the pREST reconnects to the database and then everything works again.
The text was updated successfully, but these errors were encountered:
I'm extending pREST and using
config.PrestConf.Adapter.*
to directly manipulate the database.If someone happens to send an incorrect URL to the server, such as:
http://example.com/nondb/public/tablename
(with a database that doesn't exist) the server tries to open the db, fails and returns the error as expected but it loses the old connection or database name. Then no direct SQL statement will work anymore.If I send a valid URL the pREST reconnects to the database and then everything works again.
The text was updated successfully, but these errors were encountered: