X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmsgbase.c;h=0b4ed5c593049f39d707f86733092cc144bdb69c;hp=d120ca41093bdf812d15535f95abfe2e9bbba1af;hb=b6845a37c842070f70b8fbb98fb49c5e2cfc9644;hpb=3101d92471592f0f1ffaf19fcd7f779b02057ef7 diff --git a/citadel/msgbase.c b/citadel/msgbase.c index d120ca410..0b4ed5c59 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -2419,7 +2419,10 @@ int CtdlSaveMsgPointersInRoom(char *roomname, long newmsgidlist[], int num_newms } /* Submit this room for processing by hooks */ - PerformRoomHooks(&CC->room); + int total_roomhook_errors = PerformRoomHooks(&CC->room); + if (total_roomhook_errors) { + syslog(LOG_WARNING, "msgbase: room hooks returned %d errors", total_roomhook_errors); + } /* Go back to the room we were in before we wandered here... */ CtdlGetRoom(&CC->room, hold_rm);