diff options
| author | gleb-kov <[email protected]> | 2022-02-10 16:46:22 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:22 +0300 |
| commit | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/testing/unittest/registar.h | |
| parent | 7b1cfa32681104c8468c5824c79fd80d9a88a579 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/registar.h')
| -rw-r--r-- | library/cpp/testing/unittest/registar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h index 18652a5178a..44517a00924 100644 --- a/library/cpp/testing/unittest/registar.h +++ b/library/cpp/testing/unittest/registar.h @@ -17,7 +17,7 @@ #include <util/string/printf.h> #include <util/system/defaults.h> -#include <util/system/type_name.h> +#include <util/system/type_name.h> #include <util/system/spinlock.h> #include <util/system/src_location.h> @@ -282,8 +282,8 @@ private: \ this->AtStart(); #ifndef UT_SKIP_EXCEPTIONS -#define CATCH_REACTION(FN, e, context) this->AddError(("(" + TypeName(e) + ") " + e.what()).data(), context) -#define CATCH_REACTION_BT(FN, e, context) this->AddError(("(" + TypeName(e) + ") " + e.what()).data(), (e.BackTrace() ? e.BackTrace()->PrintToString() : TString()), context) +#define CATCH_REACTION(FN, e, context) this->AddError(("(" + TypeName(e) + ") " + e.what()).data(), context) +#define CATCH_REACTION_BT(FN, e, context) this->AddError(("(" + TypeName(e) + ") " + e.what()).data(), (e.BackTrace() ? e.BackTrace()->PrintToString() : TString()), context) #else #define CATCH_REACTION(FN, e, context) throw #define CATCH_REACTION_BT(FN, e, context) throw |
