Commit 36e67f52 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

sqlite: Include the request as part of exception's description

parent 7e4dbf81
......@@ -139,7 +139,7 @@ public:
case SQLITE_CONSTRAINT:
throw errors::ConstraintViolation( m_req, errMsg );
default:
throw std::runtime_error( errMsg );
throw std::runtime_error( m_req + ": " + errMsg );
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment