diff --git a/amxmodx/CModule.cpp b/amxmodx/CModule.cpp index 803f1ff7..77486406 100755 --- a/amxmodx/CModule.cpp +++ b/amxmodx/CModule.cpp @@ -219,6 +219,9 @@ bool CModule::queryModule() m_Handle = DLLOAD(m_Filename.c_str()); // load file if (!m_Handle) { +#if defined __linux__ + AMXXLOG_Log("[AMXX] Module \"%s\" failed to load (%s)", m_Filename.c_str(), dlerror()); +#endif m_Status = MODULE_BADLOAD; return false; }