]> andersk Git - svn-all-fast-export.git/blobdiff - src/main.cpp
Don't let me waste 2 hours doing an import if the identity map file wasn't found...
[svn-all-fast-export.git] / src / main.cpp
index abe9c28226a062240c2c3e0a6ccf6a699da57358..35535c9ec666ebfbf9b9048a7e7dd12faba4e690 100644 (file)
@@ -33,8 +33,11 @@ QHash<QByteArray, QByteArray> loadIdentityMapFile(const QString &fileName)
         return result;
 
     QFile file(fileName);
-    if (!file.open(QIODevice::ReadOnly))
+    if (!file.open(QIODevice::ReadOnly)) {
+        fprintf(stderr, "Could not open file %s: %s",
+                qPrintable(fileName), qPrintable(file.errorString()));
         return result;
+    }
 
     while (!file.atEnd()) {
         QByteArray line = file.readLine().trimmed();
This page took 0.024429 seconds and 4 git commands to generate.