X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f27c218d18ebf7198e07249aca1eed625da914fd..31a4d1fea320e59487fa28bbb406ee50d4e7ec76:/Server/src/httperror.cpp?ds=sidebyside diff --git a/Server/src/httperror.cpp b/Server/src/httperror.cpp index b00ded5..b833ad1 100644 --- a/Server/src/httperror.cpp +++ b/Server/src/httperror.cpp @@ -38,14 +38,16 @@ namespace Server { HTTPError::~HTTPError(void) throw() { #ifdef DEBUG - cerr << __FILE__ << ": destructor." << endl; + cerr << __FILE__ << "(" << __LINE__ << ")" + << ": destructor." << endl; #endif // DEBUG } HTTPError::HTTPError(unsigned code, const std::string& desc) throw(): runtime_error(desc), code(code) { #ifdef DEBUG - cerr << __FILE__ << ": code = " << code << " | desc = " << desc << endl; + cerr << __FILE__ << "(" << __LINE__ << ")" + << ": code = " << code << " | desc = " << desc << endl; #endif // DEBUG }