fix(kernel/kernel_exception): incorrect pp method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
d3d24696f4
commit
6cc83dbe2a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ format kernel_exception::pp(formatter const &, options const &) const {
|
|||
}
|
||||
|
||||
format unknown_name_exception::pp(formatter const &, options const &) const {
|
||||
return format{format("unknown object '"), format(get_name()), format("'")};
|
||||
return format{format(what()), format(" '"), format(get_name()), format("'")};
|
||||
}
|
||||
|
||||
format already_declared_exception::pp(formatter const &, options const &) const {
|
||||
|
|
Loading…
Reference in a new issue