aboutsummaryrefslogtreecommitdiff
path: root/src/common/ErrnoException.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/ErrnoException.cpp')
-rw-r--r--src/common/ErrnoException.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/ErrnoException.cpp b/src/common/ErrnoException.cpp
index df2349ac..15d298b3 100644
--- a/src/common/ErrnoException.cpp
+++ b/src/common/ErrnoException.cpp
@@ -7,5 +7,6 @@ ErrnoException::ErrnoException(const String& message)
: ErrnoException(message, errno) {}
ErrnoException::ErrnoException(const String& message, int errno_code)
- : Exception(message), errno_code_(errno_code) {}
+ : Exception(Format(u"{}. Errno is {}.", message, errno_code)),
+ errno_code_(errno_code) {}
} // namespace cru