summaryrefslogtreecommitdiffstats
path: root/scriptmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scriptmanager.cpp')
-rw-r--r--scriptmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scriptmanager.cpp b/scriptmanager.cpp
index 95f1130..be3f780 100644
--- a/scriptmanager.cpp
+++ b/scriptmanager.cpp
@@ -143,7 +143,7 @@ void ScriptManager::runFile(const QString &fileName)
Utils::NormalMessageFormat);
ErrorMessage message = m_runner->runScript(fileName);
if (message.hasError)
- Core::MessageManager::instance()->printToOutputPane(tr("Error at line %1: %2\n").arg(message.line).arg(message.message),
+ Core::MessageManager::instance()->printToOutputPane(tr("Error in %1 at line %3: %4\n").arg(message.fileName).arg(message.line).arg(message.message),
Utils::ErrorMessageFormat);
else
Core::MessageManager::instance()->printToOutputPane(tr("The script exited normally\n"),