diff options
Diffstat (limited to 'src/emerge.cpp')
-rw-r--r-- | src/emerge.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp index de9a16ac7..d6bda731a 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -494,8 +494,8 @@ void *EmergeThread::Thread() try { // takes about 90ms with -O1 on an e3-1230v2 m_server->getScriptIface()->environment_OnGenerated( minp, maxp, mapgen->blockseed); - } catch(LuaError &e) { - m_server->setAsyncFatalError(e.what()); + } catch (LuaError &e) { + m_server->setAsyncFatalError("Lua: " + std::string(e.what())); } EMERGE_DBG_OUT("ended up with: " << analyze_block(block)); |