summaryrefslogtreecommitdiff
path: root/src/LuaTask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/LuaTask.cc')
-rw-r--r--src/LuaTask.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LuaTask.cc b/src/LuaTask.cc
index 30fdef2..fa94621 100644
--- a/src/LuaTask.cc
+++ b/src/LuaTask.cc
@@ -69,7 +69,7 @@ void Balau::LuaTask::Do() {
else
m_cell->run(L);
}
- catch (GeneralException e) {
+ catch (GeneralException & e) {
m_cell->m_exception = new GeneralException(e);
}
catch (...) {