X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmsgbase.c;h=0b4ed5c593049f39d707f86733092cc144bdb69c;hb=b6845a37c842070f70b8fbb98fb49c5e2cfc9644;hp=d120ca41093bdf812d15535f95abfe2e9bbba1af;hpb=5ac2920028e92a453c686c799327d7a66b3e7b49;p=citadel.git 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);