mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 20:28:52 +02:00
ircd:🆑 Additional log info about exec read/write exception.
This commit is contained in:
parent
77ebbe4528
commit
ee64a3937a
1 changed files with 10 additions and 2 deletions
12
ircd/cl.cc
12
ircd/cl.cc
|
@ -523,7 +523,11 @@ catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
log::error
|
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(),
|
e.what(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -574,7 +578,11 @@ catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
log::error
|
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(),
|
e.what(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue