common: common_funcs: Change R_UNLESS to LOG_ERROR.
This commit is contained in:
parent
c8fe8247ee
commit
8d1afcb90f
|
@ -98,7 +98,7 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
|
||||||
{ \
|
{ \
|
||||||
if (!(expr)) { \
|
if (!(expr)) { \
|
||||||
if (res.IsError()) { \
|
if (res.IsError()) { \
|
||||||
LOG_CRITICAL(Kernel, "Failed with error {}", res.raw); \
|
LOG_ERROR(Kernel, "Failed with result: {}", res.raw); \
|
||||||
} \
|
} \
|
||||||
return res; \
|
return res; \
|
||||||
} \
|
} \
|
||||||
|
|
Reference in New Issue