File tree Expand file tree Collapse file tree
src/main/java/com/atomgraph/linkeddatahub/server/filter/response Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -521,8 +521,6 @@ SECRETARY_URI="${SECRETARY_URI:-${ADMIN_BASE_URI}acl/agents/${SECRETARY_UUID}/#t
521521
522522OWNER_DATASET_PATH=" /var/linkeddatahub/datasets/owner/${OWNER_CERT_ALIAS} .trig"
523523
524- printf " \n### Owner's WebID URI: %s\n" " $OWNER_URI "
525-
526524# generate owner's keystore, cert, and public key if the public key does not exist
527525# store owner's metadata in an RDF dataset
528526if [ ! -f " $OWNER_PUBLIC_KEY " ]; then
560558
561559SECRETARY_DATASET_PATH=" /var/linkeddatahub/datasets/secretary/${SECRETARY_CERT_ALIAS} .trig"
562560
563- printf " \n### Secretary's WebID URI: %s\n" " $SECRETARY_URI "
564-
565561# generate secretary's keystore, cert, and public key if the public key does not exist
566562# store secretary's metadata in an RDF dataset
567563if [ ! -f " $SECRETARY_PUBLIC_KEY " ]; then
@@ -624,6 +620,9 @@ SECRETARY_KEY_URI=$(echo "$secretary_metadata" | xmlstarlet sel -N srx="http://w
624620SECRETARY_KEY_DOC_URI=$( echo " $SECRETARY_KEY_URI " | sed ' s|#this$||' )
625621SECRETARY_KEY_URI=" ${SECRETARY_KEY_DOC_URI} #this"
626622
623+ printf " \n### Owner's WebID URI: %s\n" " $OWNER_URI "
624+ printf " \n### Secretary's WebID URI: %s\n" " $SECRETARY_URI "
625+
627626# Note: LOAD_DATASETS check is now done per-app inside the loop
628627
629628# base the $CONTEXT_DATASET
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ public Source getSource(String url) throws IOException
189189 try (Response cr = builder .accept (MediaType .TEXT_XSL_TYPE ).get ())
190190 {
191191 if (!cr .getStatusInfo ().getFamily ().equals (Response .Status .Family .SUCCESSFUL ))
192- throw new IOException ("XSLT stylesheet could not be successfully loaded over HTTP" );
192+ throw new IOException ("XSLT stylesheet could not be successfully loaded over HTTP. URL: " + uri );
193193
194194 // buffer the stylesheet stream so we can close Response
195195 try (InputStream is = cr .readEntity (InputStream .class ))
You can’t perform that action at this time.
0 commit comments