execute();
}
catch(SSqlException &e) {
- throw PDNSException("GSQLBackend list comments query: "+e.txtReason());
+ throw PDNSException("GSQLBackend unable to list comments for domain id " + std::to_string(domain_id) + ": "+e.txtReason());
}
return true;
reset();
}
catch (SSqlException &e) {
- throw PDNSException("GSQLBackend unable to feed comment: "+e.txtReason());
+ throw PDNSException("GSQLBackend unable to feed comment for RRSet '" + comment.qname.toLogString() + "|" + comment.qtype.getName() + "': "+e.txtReason());
}
}
reset();
}
catch (SSqlException &e) {
- throw PDNSException("GSQLBackend unable to delete comment: "+e.txtReason());
+ throw PDNSException("GSQLBackend unable to delete comment for RRSet '" + qname.toLogString() + "|" + qt.getName() + "': "+e.txtReason());
}
for(const auto& comment: comments) {