diff options
Diffstat (limited to 'tools/common/debug.cpp')
-rw-r--r-- | tools/common/debug.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/common/debug.cpp b/tools/common/debug.cpp index 94d8ed99..3884d651 100644 --- a/tools/common/debug.cpp +++ b/tools/common/debug.cpp @@ -41,6 +41,10 @@ void Debug_EnablePhase(const char* phase_name) { gmDisabledDebug.erase(it); } + else + { + ::std::cerr << "Unknown debug phase: " << phase_name << ::std::endl; + } } void Debug_Print(::std::function<void(::std::ostream& os)> cb) { |