[error] emulator Error in process <0.3852.0> on node 'ejabberd@xxxx' with exit value: {badarg,

Hi,
I got the above error when I tried to send a message to an offline userB using psi client. Since the userB is offline the message needs to go into the spool table but in my case it is not getting inserted into the spool table and gives following error when viewed in logs. Please explain me this error and also please suggest a solution .

[error] emulator Error in process <0.3852.0> on node 'ejabberd@xxxx' with exit value: {badarg,[{erlang,list_to_binary,[[3,[ok]]],[]},{p1_mysql_conn,do_query,6,[{file,"src/p1_mysql_conn.erl"},{line,670}]},{p1_mysql_conn,loop,1,[{file,"src/p1_mysql_conn.erl"},{line,348}]}]}

The error line has only this

The error line has only this text? It doesn't indicate from where exactly the call to mysql code comes.

Also, is there some other error lines before or after, that maybe indicate from where it comes? some reference to mod_offline, or any other piece of code?

Syndicate content