Bug 559678 - followup, make the warning less scarying. rs=sdwilsh

This commit is contained in:
Marco Bonardo 2010-04-22 14:53:56 +02:00
parent f0b25bedf3
commit 01e6a8ee80

View File

@ -94,8 +94,9 @@ convertResultCode(int aSQLiteResultCode)
// generic error
#ifdef DEBUG
nsCAutoString message;
message.AppendLiteral("Unknown SQLite error code: ");
message.AppendLiteral("SQLite returned error code ");
message.AppendInt(aSQLiteResultCode);
message.AppendLiteral(" , Storage will convert it to NS_ERROR_FAILURE");
NS_WARNING(message.get());
#endif
return NS_ERROR_FAILURE;