Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Indicate the location of sqlite failures.
Will Andrews committed 14 years ago
commit 591b1f7399c47a95413badf155f5a18a12eca61f
parent 76107a4
1 file changed +1 -1
modified libpkg/pkg_error.h
@@ -12,7 +12,7 @@
	pkg_error_set(EPKG_FATAL, "Bad argument `%s` in %s", name, __FUNCTION__)

#define ERROR_SQLITE(db) \
-
	pkg_error_set(EPKG_FATAL, "%s (sqlite)", sqlite3_errmsg(db))
+
	pkg_error_set(EPKG_FATAL, "%s (sqlite at %s:%d)", sqlite3_errmsg(db), __FILE__, __LINE__)

pkg_error_t _pkg_error_set(pkg_error_t, const char *, ...);