More calls of DEBUG_LOG() added
[mailer.git] / inc / modules / guest / what-login.php
index efaf745c31b68e4e2eec7f094356e73609993f2e..6dddc59702f3de78384c9c01f84c3ba95a42f5cd 100644 (file)
@@ -213,6 +213,7 @@ if (IS_MEMBER()) {
                                        break;
 
                                default:
+                                       DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown error status %s detected.", $status));
                                        $ERROR = CODE_UNKNOWN_STATUS;
                                        break;
                        }
@@ -325,6 +326,7 @@ if (!empty($ERROR)) {
                        break;
 
                default:
+                       DEBUG_LOG(__FILE__, __LINE__, sprintf("Unhandled error code %s detected.", $ERROR));
                        $MSG .= LOGIN_WRONG_ID;
                        break;
                }