mirror of
https://github.com/matrix-construct/construct
synced 2025-01-18 02:21:56 +01: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, "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(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue