Fixed loader debug messages
This commit is contained in:
parent
bf8d67660a
commit
430eacc154
@ -88,6 +88,7 @@ wmud_db_load_players(GError **err)
|
|||||||
GdaDataModel *res;
|
GdaDataModel *res;
|
||||||
GdaDataModelIter *iter;
|
GdaDataModelIter *iter;
|
||||||
|
|
||||||
|
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loading players");
|
||||||
if (dbh == NULL) {
|
if (dbh == NULL) {
|
||||||
if (err)
|
if (err)
|
||||||
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
||||||
@ -282,6 +283,7 @@ wmud_db_load_directions(GSList **directions, GError **err)
|
|||||||
GdaDataModel *res = NULL;
|
GdaDataModel *res = NULL;
|
||||||
GdaDataModelIter *iter;
|
GdaDataModelIter *iter;
|
||||||
|
|
||||||
|
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loading directions");
|
||||||
if (dbh == NULL) {
|
if (dbh == NULL) {
|
||||||
if (err)
|
if (err)
|
||||||
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
||||||
@ -428,7 +430,7 @@ wmud_db_load_exits(GSList **exits, GError **err)
|
|||||||
GdaDataModel *res = NULL;
|
GdaDataModel *res = NULL;
|
||||||
GdaDataModelIter *iter;
|
GdaDataModelIter *iter;
|
||||||
|
|
||||||
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loading rooms");
|
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loading exits");
|
||||||
if (dbh == NULL) {
|
if (dbh == NULL) {
|
||||||
if (err)
|
if (err)
|
||||||
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
||||||
@ -476,7 +478,7 @@ wmud_db_load_planet_planes(GSList **planet_planes, GError **err)
|
|||||||
GdaDataModel *res = NULL;
|
GdaDataModel *res = NULL;
|
||||||
GdaDataModelIter *iter;
|
GdaDataModelIter *iter;
|
||||||
|
|
||||||
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loading rooms");
|
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loading planet<->plane associations");
|
||||||
if (dbh == NULL) {
|
if (dbh == NULL) {
|
||||||
if (err)
|
if (err)
|
||||||
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
g_set_error(err, WMUD_DB_ERROR, WMUD_DB_ERROR_NOINIT, "Database backend not initialized");
|
||||||
|
Loading…
Reference in New Issue
Block a user