diff --git a/lib/mu-server.cc b/lib/mu-server.cc index 9aae7cfe..35d38b31 100644 --- a/lib/mu-server.cc +++ b/lib/mu-server.cc @@ -65,7 +65,8 @@ struct OutputStream { mu_format("mu-{}.eld", g_get_monotonic_time()))}, out_{std::ofstream{fname_}} { if (!out().good()) - throw Mu::Error{Error::Code::File, "failed to create temp-file"}; + throw Mu::Error{Error::Code::File, + "failed to create temp-file '{}'", fname_}; } /** * Construct an OutputStream for a stringstream