Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima
Commits
7f9e5d16
Commit
7f9e5d16
authored
Oct 12, 2020
by
Samuel Debionne
Browse files
Print an error message to the console when creating an exception that does not have a DebProxy
parent
20a3308f
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/src/Exceptions.cpp
View file @
7f9e5d16
...
...
@@ -82,6 +82,9 @@ Exception::Exception(Layer layer, ErrorType err_type, const string& err_desc,
if
(
deb_proxy
)
*
deb_proxy
<<
"Exception("
<<
getErrType
()
<<
"): "
<<
getErrDesc
();
else
std
::
cerr
<<
"********* Exception("
<<
getErrType
()
<<
"): "
<<
getErrDesc
();
}
Layer
Exception
::
getLayer
()
const
...
...
@@ -146,4 +149,3 @@ ostream& lima::operator <<(ostream& os, const Exception& e)
{
return
os
<<
e
.
getErrMsg
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment