Skip to content
Snippets Groups Projects
Commit 73479678 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Adding debug info about host to lookup for missing metadata.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@13 44740490-163a-0410-bde0-09ae8108e29a
parent 4ac34cf2
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ class SimpleSAML_XML_MetaDataStore { ...@@ -73,7 +73,7 @@ class SimpleSAML_XML_MetaDataStore {
} }
if (!isset($this->hostmap[$set])) { if (!isset($this->hostmap[$set])) {
throw new Exception('No default entities defined for metadata set [' . $set . ']'); throw new Exception('No default entities defined for metadata set [' . $set . '] (host:' . $currenthost. ')');
} }
if (!isset($currenthost)) { if (!isset($currenthost)) {
throw new Exception('Could not get HTTP_HOST, in order to resolve default entity ID'); throw new Exception('Could not get HTTP_HOST, in order to resolve default entity ID');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment