diff --git a/apps/opencs/view/doc/loader.cpp b/apps/opencs/view/doc/loader.cpp index 38157bc36f..498f86c1c1 100644 --- a/apps/opencs/view/doc/loader.cpp +++ b/apps/opencs/view/doc/loader.cpp @@ -9,6 +9,8 @@ #include #include + +#include #include #include @@ -121,6 +123,7 @@ void CSVDoc::LoadingDocument::abort(const std::string& error) { mAborted = true; mError->setText(QString::fromUtf8(("Loading failed: " + error + "").c_str())); + Log(Debug::Error) << "Loading failed: " << error; mButtons->setStandardButtons(QDialogButtonBox::Close); }