diff --git a/source/dub/packagemanager.d b/source/dub/packagemanager.d index 77c5df9..3e9171e 100644 --- a/source/dub/packagemanager.d +++ b/source/dub/packagemanager.d @@ -385,7 +385,7 @@ logDebug("Looking up journal"); auto journalFile = pack.path~JournalJsonFilename; if (!existsFile(journalFile)) - throw new Exception("Removal failed, no retrieval journal found for '"~pack.name~"'. Please remove the folder '%s' manually.", pack.path.toNativeString()); + throw new Exception(format("Removal failed, no retrieval journal found for '"~pack.name~"'. Please remove the folder '%s' manually.", pack.path.toNativeString())); auto packagePath = pack.path; auto journal = new Journal(journalFile);