0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::fs: Show path in rethrown errmsg.

This commit is contained in:
Jason Volk 2018-08-12 16:42:50 -07:00
parent 9ae4e225d3
commit 32b6e018c9

View file

@ -536,7 +536,7 @@ catch(const filesystem::filesystem_error &e)
{
throw filesystem_error
{
"%s", e.what()
"`%s': %s", path, e.what()
};
}
@ -550,7 +550,7 @@ catch(const filesystem::filesystem_error &e)
{
throw filesystem_error
{
"%s", e.what()
"`%s': %s", path, e.what()
};
}
@ -564,7 +564,7 @@ catch(const filesystem::filesystem_error &e)
{
throw filesystem_error
{
"%s", e.what()
"`%s': %s", path, e.what()
};
}
@ -587,7 +587,7 @@ catch(const filesystem::filesystem_error &e)
{
throw filesystem_error
{
"%s", e.what()
"`%s' -> `%s': %s", old, new_, e.what()
};
}