From f0ac33760478522817bd4b6bb15a4c89c9ac6674 Mon Sep 17 00:00:00 2001 From: Niko Sams Date: Fri, 24 Sep 2010 21:13:44 +0200 Subject: output repository name that crashed, helpful to know which logs to look at --- src/repository.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/repository.cpp b/src/repository.cpp index a19b794..4bfba6e 100644 --- a/src/repository.cpp +++ b/src/repository.cpp @@ -895,5 +895,5 @@ void FastImportRepository::Transaction::commit() while (repository->fastImport.bytesToWrite()) if (!repository->fastImport.waitForBytesWritten(-1)) - qFatal("Failed to write to process: %s", qPrintable(repository->fastImport.errorString())); + qFatal("Failed to write to process: %s for repository %s", qPrintable(repository->fastImport.errorString()), qPrintable(repository->name)); } -- cgit v1.2.1