print return code in debugging error message

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4373 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-06-02 17:39:37 +00:00
parent 64e9809878
commit 9dff105db0

View File

@ -1457,9 +1457,10 @@ xaccTransCommitEdit (Transaction *trans)
*/
/* XXX hack alert -- finish this */
PWARN("Another user has modified the transaction\n"
"Please refresh your browser and try again.\n"
"(This dialog should be a gui dialog and \n"
"should check for errors)\n");
"\tPlease refresh your browser and try again.\n"
"\t(This dialog should be a gui dialog and \n"
"\tshould check for errors)\n"
"\t rc=%d\n", rc);
/* hack alert -- we should check for i/o errors from
* the backend too ...
*/