common: common_funcs: Change R_UNLESS to LOG_ERROR.

This commit is contained in:
bunnei 2021-01-28 21:51:16 -08:00
parent 1ebbfe8e3b
commit 4bb6de297f

View file

@ -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; \
} \ } \