Skip to content

Commit bc04ac2

Browse files
authored
Add detail to ILSException('Unexpected error code.') (#4480)
1 parent 0273ca9 commit bc04ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/VuFind/src/VuFind/ILS/Driver/AbstractAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function makeRequest(
215215
$attemptNumber + 1
216216
);
217217
} else {
218-
throw new ILSException('Unexpected error code.');
218+
throw new ILSException("Unexpected error code '$code' returned from $path.");
219219
}
220220
}
221221
if ($jsonLog = ($this->config['API']['json_log_file'] ?? false)) {

0 commit comments

Comments
 (0)