From 86a2d6471c38ec2b94c9a4ae4131c88694ae8c17 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 2 Mar 2016 20:06:48 +0100 Subject: [PATCH] Fix a boost format string abort --- src/hydra-queue-runner/s3-binary-cache-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/s3-binary-cache-store.cc b/src/hydra-queue-runner/s3-binary-cache-store.cc index 146c26fc..bf1e9884 100644 --- a/src/hydra-queue-runner/s3-binary-cache-store.cc +++ b/src/hydra-queue-runner/s3-binary-cache-store.cc @@ -108,7 +108,7 @@ bool S3BinaryCacheStore::fileExists(const std::string & path) if (error.GetErrorType() == Aws::S3::S3Errors::UNKNOWN // FIXME && error.GetMessage().find("404") != std::string::npos) return false; - throw Error(format("AWS error fetching ā€˜%sā€™") % path % error.GetMessage()); + throw Error(format("AWS error fetching ā€˜%sā€™: %s") % path % error.GetMessage()); } return true;