Просмотр исходного кода

common: common_funcs: Change R_UNLESS to LOG_ERROR.

bunnei 5 лет назад
Родитель
Сommit
8d1afcb90f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/common/common_funcs.h

+ 1 - 1
src/common/common_funcs.h

@@ -98,7 +98,7 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
     {                                                                                              \
         if (!(expr)) {                                                                             \
             if (res.IsError()) {                                                                   \
-                LOG_CRITICAL(Kernel, "Failed with error {}", res.raw);                             \
+                LOG_ERROR(Kernel, "Failed with result: {}", res.raw);                              \
             }                                                                                      \
             return res;                                                                            \
         }                                                                                          \