a couple of api improvements

This commit is contained in:
redmatrix
2015-12-11 21:10:20 -08:00
parent ac3075bef7
commit 395268da22
2 changed files with 11 additions and 2 deletions

View File

@@ -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