diff mbox

[04/12] hs20-signup: print out ID if there is some problem with it.

Message ID 1427405998-13038-4-git-send-email-greearb@candelatech.com
State Accepted
Headers show

Commit Message

Ben Greear March 26, 2015, 9:39 p.m. UTC
From: Ben Greear <greearb@candelatech.com>

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
 hs20/server/www/signup.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/hs20/server/www/signup.php b/hs20/server/www/signup.php
index a626704..aeb2f68 100644
--- a/hs20/server/www/signup.php
+++ b/hs20/server/www/signup.php
@@ -17,7 +17,7 @@  if (!$db) {
 
 $row = $db->query("SELECT realm FROM sessions WHERE id='$id'")->fetch();
 if ($row == false) {
-   die("Session not found");
+   die("Session not found for id: $id");
 }
 $realm = $row['realm'];