0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 21:38:18 +02:00

ircd:🆑 Additional log info about exec read/write exception.

This commit is contained in:
Jason Volk 2021-04-02 12:55:13 -07:00
parent 77ebbe4528
commit ee64a3937a

View file

@ -523,7 +523,11 @@ catch(const std::exception &e)
{
log::error
{
log, "Exec Read :%s",
log, "Exec Read data:%p cl_mem:%p buf:%p,%zu :%s",
&data,
data.handle,
ircd::data(buf),
ircd::size(buf),
e.what(),
};
@ -574,7 +578,11 @@ catch(const std::exception &e)
{
log::error
{
log, "Exec Write :%s",
log, "Exec Write data:%p cl_mem:%p buf:%p,%zu :%s",
&data,
data.handle,
ircd::data(buf),
ircd::size(buf),
e.what(),
};