debug: warn if win32 debug helper can't be loaded
This commit is contained in:
parent
80158b7343
commit
b79a2242a4
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "./except.hpp"
|
#include "./except.hpp"
|
||||||
#include "./log.hpp"
|
#include "./log.hpp"
|
||||||
|
#include "./except.hpp"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
@ -46,7 +47,7 @@ void
|
|||||||
prepare_debugger (void)
|
prepare_debugger (void)
|
||||||
{
|
{
|
||||||
if (nullptr == LoadLibrary("exchndl.dll")) {
|
if (nullptr == LoadLibrary("exchndl.dll")) {
|
||||||
LOG_WARNING("Emergency debugger not loaded: %s", util::win32_error ());
|
LOG_WARNING("Emergency debugger not loaded: %s", util::win32_error::code_string ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user