baiwyc119 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

SQLite journal failure not logged as error #464

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure Prosody to use an SQLite database in a read-only directory
2. Perform some change to roster/vCard/whatever
3. The change fails with the following <iq> stanza reported to the client, but 
no further information:

<error type='wait'>
<internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>

What is the expected output? What do you see instead?
Expected: Prosody should at the very least log a warning (but probably an 
error) either when the database is first opened, or when a write is attempted.

Actual: Prosody silently fails.

What version of the product are you using? On what operating system?

Version 0.9.1 on Ubuntu 14.04

Please provide any additional information below.

Original issue reported on code.google.com by jking....@gmail.com on 1 Feb 2015 at 4:37