From 395268da22bf5ec773de7fdc42a338a9cbe87d40 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 11 Dec 2015 21:10:20 -0800 Subject: a couple of api improvements --- include/api_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/api_auth.php') diff --git a/include/api_auth.php b/include/api_auth.php index c9978c99d..e3697adb0 100644 --- a/include/api_auth.php +++ b/include/api_auth.php @@ -28,7 +28,7 @@ function api_login(&$a){ killme(); } catch(Exception $e) { - logger(__file__.__line__.__function__."\n".$e); + logger($e->getMessage()); } // workarounds for HTTP-auth in CGI mode -- cgit v1.2.3