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:
parent
9ae4e225d3
commit
32b6e018c9
1 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue